aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/popup.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-12 16:39:55 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-12 16:39:55 +0100
commitb5a4bcb247ec94ee99ca83c068d660574a36a0d7 (patch)
treeb6fe2b9aebc35f342f730a776ec9a50eb480caa6 /src/webex/pages/popup.tsx
parent1bcc5022c27fff2c28c38b3db12ac353cc7d3481 (diff)
downloadwallet-core-b5a4bcb247ec94ee99ca83c068d660574a36a0d7.tar.xz
show notification dot when balance changes (#5214)
Diffstat (limited to 'src/webex/pages/popup.tsx')
-rw-r--r--src/webex/pages/popup.tsx3
1 files changed, 3 insertions, 0 deletions
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"});
});