diff options
| author | Stephen Blott | 2016-03-26 10:15:56 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-26 10:18:32 +0000 | 
| commit | 5073fc3005b0cab3b44062d051311a704882d4d5 (patch) | |
| tree | 6ac4f58d2144998235deb3ef38951378651cada1 | |
| parent | d25b2c6fb08d06b87f7bbe69a1bcfecd351c7c7f (diff) | |
| download | vimium-5073fc3005b0cab3b44062d051311a704882d4d5.tar.bz2 | |
selected wasn't being used here.
| -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 | 
