diff options
Diffstat (limited to 'pages/vomnibar.coffee')
| -rw-r--r-- | pages/vomnibar.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee index c53e7170..01533b5f 100644 --- a/pages/vomnibar.coffee +++ b/pages/vomnibar.coffee @@ -167,6 +167,7 @@ class VomnibarUI # avoid a race condition, we construct the query from the actual contents of the input (query). query = Utils.createSearchUrl query, @lastReponse.engine.searchUrl if isCustomSearchPrimarySuggestion @hide -> + openInNewTab &&= not Utils.hasJavascriptPrefix query chrome.runtime.sendMessage handler: if openInNewTab then "openUrlInNewTab" else "openUrlInCurrentTab" url: query |
