Browse Source

Firefox: 'load' -> 'DOMContentLoaded'

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
4e1b938f25
  1. 2
      platform/firefox/vapi-background.js

2
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;

Loading…
Cancel
Save