diff --git a/suite/common/directory/directory.js b/suite/common/directory/directory.js index 9085a0f0db45..49b855183383 100644 --- a/suite/common/directory/directory.js +++ b/suite/common/directory/directory.js @@ -62,7 +62,7 @@ function Init() function OnClick(event) { if( event.type == "click" && - ( event.button != 1 || event.clickCount != 2 ) ) + ( event.button != 1 || event.detail != 2 ) ) return false; if( event.type == "keypress" && event.which != 13 ) return false; diff --git a/suite/common/related/related-panel.js b/suite/common/related/related-panel.js index 4a4bde0d0fc1..0853207a99cf 100644 --- a/suite/common/related/related-panel.js +++ b/suite/common/related/related-panel.js @@ -228,7 +228,7 @@ function Destruct() { function openURL(event, root) { if( event.type == "click" && - ( event.button != 1 || event.clickCount != 2 ) ) + ( event.button != 1 || event.detail != 2 ) ) return false; else if( event.type == "keypress" && event.which != 13 ) return false; diff --git a/suite/common/search/internetresults.xul b/suite/common/search/internetresults.xul index 8fd16abdcb3d..d2c8c3d0879f 100644 --- a/suite/common/search/internetresults.xul +++ b/suite/common/search/internetresults.xul @@ -42,7 +42,7 @@ + onclick="if (event.detail == 2) return searchResultsOpenURL(event, event.target.parentNode.parentNode); else return doResultClick(event.target.parentNode.parentNode);">