aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/vapi-tabs.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/vapi-tabs.js b/js/vapi-tabs.js
index 390f449..54b09d0 100644
--- a/js/vapi-tabs.js
+++ b/js/vapi-tabs.js
@@ -576,7 +576,6 @@
} else if (tabBrowser.tabContainer) {
// Firefox
tabContainer = tabBrowser.tabContainer;
- vAPI.contextMenu.register(document);
}
// https://github.com/gorhill/uBlock/issues/697
@@ -620,8 +619,6 @@
};
let onWindowUnload = function (win) {
- vAPI.contextMenu.unregister(win.document);
-
let tabBrowser = vAPI.browser.getTabBrowser(win);
if (tabBrowser === null) {
return;