diff options
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.js')
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js index fe84bc4602..2ca3898f17 100644 --- a/toolkit/mozapps/extensions/content/extensions.js +++ b/toolkit/mozapps/extensions/content/extensions.js @@ -1878,7 +1878,11 @@ var gHeader = { // XXXunf Temporary until bug 371900 is fixed. let key = document.getElementById("focusSearch").getAttribute("key"); +#ifdef XP_MACOSX + let keyModifier = aEvent.metaKey; +#else let keyModifier = aEvent.ctrlKey; +#endif if (String.fromCharCode(aEvent.charCode) == key && keyModifier) { this.focusSearchBox(); return; |