aboutsummaryrefslogtreecommitdiff
path: root/content_scripts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-11 20:26:37 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-11 20:26:43 +0200
commitef5bc2c353de02568a907bb8fe3d4da33758360f (patch)
tree625380156c594995ba82fae1a64a98451d5e0e4a /content_scripts
parent11a400d533bae431966288bc856e5f263ce20b72 (diff)
make ping side-effect free
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/notify.ts2
1 files changed, 1 insertions, 1 deletions
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);