From ef5bc2c353de02568a907bb8fe3d4da33758360f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 11 Oct 2016 20:26:37 +0200 Subject: make ping side-effect free --- content_scripts/notify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/notify.ts') diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index d095ee166..7f0673748 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -96,7 +96,7 @@ namespace TalerNotify { } function init() { - chrome.runtime.sendMessage({type: "ping"}, (resp) => { + chrome.runtime.sendMessage({type: "get-tab-cookie"}, (resp) => { if (chrome.runtime.lastError) { console.log("extension not yet ready"); window.setTimeout(init, 200); -- cgit v1.2.3