From 4e1b938f25bc273568c353b9491d239bd3f304af Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 16 Dec 2014 20:49:11 +0100 Subject: [PATCH] Firefox: 'load' -> 'DOMContentLoaded' --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index d0181f4..5814d50 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -331,7 +331,7 @@ vAPI.tabs.registerListeners = function() { for (var win of vAPI.tabs.getWindows()) { vAPI.toolbarButton.remove(win.document); - win.removeEventListener('load', windowWatcher.onReady); + win.removeEventListener('DOMContentLoaded', windowWatcher.onReady); win.gBrowser.removeTabsProgressListener(tabsProgressListener); var tC = win.gBrowser.tabContainer;