aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
authorMaksim Ryzhikov2013-09-12 15:26:50 +0400
committerMaksim Ryzhikov2013-09-12 15:26:50 +0400
commit9278d262c56301e997ccb214814543f64c7ba30b (patch)
treeba4902e0c52e01ba915290d0a3319153d98ce3e8 /content_scripts/link_hints.coffee
parent2030c2b74fba975373a9d1841f2ca5a7feadff17 (diff)
downloadvimium-9278d262c56301e997ccb214814543f64c7ba30b.tar.bz2
Changed deprecated chrome.extension on chrome.runtime in all files and fix tests
Diffstat (limited to 'content_scripts/link_hints.coffee')
-rw-r--r--content_scripts/link_hints.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 302acaac..f2479d0f 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -91,12 +91,12 @@ LinkHints =
else if @mode is COPY_LINK_URL
HUD.show("Copy link URL to Clipboard")
@linkActivator = (link) ->
- chrome.extension.sendMessage({handler: "copyToClipboard", data: link.href})
+ chrome.runtime.sendMessage({handler: "copyToClipboard", data: link.href})
else if @mode is OPEN_INCOGNITO
HUD.show("Open link in incognito window")
@linkActivator = (link) ->
- chrome.extension.sendMessage(
+ chrome.runtime.sendMessage(
handler: 'openUrlInIncognito'
url: link.href)
else # OPEN_IN_CURRENT_TAB