From dda2d514f986d068e12fd866c0a9ca9f5e3f4864 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Thu, 4 Jul 2019 17:57:11 +0200 Subject: Remove unused files vapi-popup wasn't even included in background.html. Also, it seems vapi-contextmenu is useless, because vapi-tabs attempts to register it without creating it first (making registration a failure, naturally.) Since it never worked since eMatrix 1.0.0 and it doesn't seem to add anything useful, let's remove it from the XPI. --- js/vapi-tabs.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/vapi-tabs.js') 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; -- cgit v1.2.3