diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 17:57:11 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 17:57:11 +0200 |
commit | dda2d514f986d068e12fd866c0a9ca9f5e3f4864 (patch) | |
tree | 0b3d47fef1ea603caabd97231ed3cb04611d97ee /js/vapi-tabs.js | |
parent | 8518e00ce1013978bebde2c8ddf36766c982ab87 (diff) | |
download | ematrix-dda2d514f986d068e12fd866c0a9ca9f5e3f4864.tar.lz ematrix-dda2d514f986d068e12fd866c0a9ca9f5e3f4864.tar.xz ematrix-dda2d514f986d068e12fd866c0a9ca9f5e3f4864.zip |
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.
Diffstat (limited to 'js/vapi-tabs.js')
-rw-r--r-- | js/vapi-tabs.js | 3 |
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; |