diff options
Diffstat (limited to 'src/ui/popup.js')
-rw-r--r-- | src/ui/popup.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/popup.js b/src/ui/popup.js index c29b94d..4b5dc85 100644 --- a/src/ui/popup.js +++ b/src/ui/popup.js @@ -43,10 +43,9 @@ addEventListener("unload", e => { tabId = tab.id; } - + let port = browser.runtime.connect({name: "noscript.popup"}); await UI.init(tabId); - let port = browser.runtime.connect({name: "noscript.popup"}) function pendingReload(b) { try { port.postMessage({tabId, pendingReload: b}); |