From 9403692e5115c780fc5b55dfdfa7b0e5fa4c2372 Mon Sep 17 00:00:00 2001 From: sainaen Date: Mon, 6 May 2013 22:13:00 +0300 Subject: Replace all deprecated sendRequest() calls with new sendMessage() --- content_scripts/link_hints.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/link_hints.coffee') diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 30dd98a4..302acaac 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -91,7 +91,7 @@ LinkHints = else if @mode is COPY_LINK_URL HUD.show("Copy link URL to Clipboard") @linkActivator = (link) -> - chrome.extension.sendRequest({handler: "copyToClipboard", data: link.href}) + chrome.extension.sendMessage({handler: "copyToClipboard", data: link.href}) else if @mode is OPEN_INCOGNITO HUD.show("Open link in incognito window") -- cgit v1.2.3