diff --git a/browser/components/search/content/search.xml b/browser/components/search/content/search.xml index 00b71336a979..7f3faf38d366 100644 --- a/browser/components/search/content/search.xml +++ b/browser/components/search/content/search.xml @@ -931,10 +931,6 @@ - - (Components.utils.import("resource://gre/modules/AppConstants.jsm", {})).AppConstants; - - @@ -983,7 +979,7 @@ let params = {}; // But open ctrl/cmd clicks on autocomplete items in a new background tab. - let modifier = this.AppConstants.platform == "macosx" ? + let modifier = AppConstants.platform == "macosx" ? aEvent.metaKey : aEvent.ctrlKey; if (where == "tab" && (aEvent instanceof MouseEvent) &&