aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-03-26 12:05:45 +0000
committerStephen Blott2016-03-26 12:05:45 +0000
commit135de62c2fecea4eb1ef07c155d339c609b6ad1c (patch)
treea648e690de43be25917aa81078f7e945c00a3375 /content_scripts
parentebcfe61f785c9717065d4196b60198c2e10a462d (diff)
parent5073fc3005b0cab3b44062d051311a704882d4d5 (diff)
downloadvimium-135de62c2fecea4eb1ef07c155d339c609b6ad1c.tar.bz2
Merge pull request #2064 from smblott-github/standardise-background-commands-v2
Perform background commands on the requesting tab (v2)
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 1801a3fd..5767d454 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