From b5a4bcb247ec94ee99ca83c068d660574a36a0d7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 12 Dec 2017 16:39:55 +0100 Subject: show notification dot when balance changes (#5214) --- src/webex/pages/popup.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/webex/pages/popup.tsx') diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx index 389be3b5c..6d1ff3b2b 100644 --- a/src/webex/pages/popup.tsx +++ b/src/webex/pages/popup.tsx @@ -566,4 +566,7 @@ const el = ( document.addEventListener("DOMContentLoaded", () => { ReactDOM.render(el, document.getElementById("content")!); + // Will be used by the backend to detect when the popup gets closed, + // so we can clear notifications + chrome.runtime.connect({name: "popup"}); }); -- cgit v1.2.3