summaryrefslogtreecommitdiff
path: root/src/ui/popup.js
diff options
context:
space:
mode:
authorhackademix2018-08-22 16:34:16 +0200
committerhackademix2018-08-22 16:34:16 +0200
commit075a5ad0e0f9b4f9af614194d9c8d21d0ed45184 (patch)
treecc341040d0515e54ec8466dec8d3e32c381f1457 /src/ui/popup.js
parent48c04726b8d2da0023abd0ccef3e2d09511bea47 (diff)
downloadnoscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.tar.gz
noscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.tar.xz
noscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.zip
More coherent wrapper around the webex messaging API.
Diffstat (limited to 'src/ui/popup.js')
-rw-r--r--src/ui/popup.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/popup.js b/src/ui/popup.js
index 55eff03..bc054d1 100644
--- a/src/ui/popup.js
+++ b/src/ui/popup.js
@@ -4,9 +4,7 @@ var sitesUI;
addEventListener("unload", e => {
if (!UI.initialized) {
- browser.runtime.sendMessage({
- type: "openStandalonePopup"
- });
+ Messages.send("openStandalonePopup");
}
});