diff options
| -rw-r--r-- | background_scripts/main.coffee | 2 | ||||
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 | ||||
| -rw-r--r-- | pages/vomnibar.coffee | 1 | 
3 files changed, 2 insertions, 3 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 04accd52..06788ee4 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -150,7 +150,7 @@ TabOperations =    openUrlInCurrentTab: (request) ->      chrome.tabs.update request.tabId, url: Utils.convertToUrl request.url -  # Opens request.url in new tab and switches to it if request.selected is true. +  # Opens request.url in new tab and switches to it.    openUrlInNewTab: (request, callback = (->)) ->      tabConfig =        url: Utils.convertToUrl request.url diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index ade14029..66eebfdd 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -313,7 +313,7 @@ extend window,          url = url.substr(12, url.length - 12)        else          url = "view-source:" + url -      chrome.runtime.sendMessage({ handler: "openUrlInNewTab", url: url, selected: true }) +      chrome.runtime.sendMessage {handler: "openUrlInNewTab", url}    copyCurrentUrl: ->      # TODO(ilya): When the following bug is fixed, revisit this approach of sending back to the background diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee index 742dba10..67fca64c 100644 --- a/pages/vomnibar.coffee +++ b/pages/vomnibar.coffee @@ -325,7 +325,6 @@ class BackgroundCompleter        chrome.runtime.sendMessage          handler: if openInNewTab then "openUrlInNewTab" else "openUrlInCurrentTab"          url: url -        selected: openInNewTab      switchToTab: (tabId) -> ->        chrome.runtime.sendMessage handler: "selectSpecificTab", id: tabId | 
