Unregister event listener for SSWindowStateBusy correctly
This commit is contained in:
parent
94428a1b2d
commit
3eaae4cbcf
@ -12,7 +12,7 @@
|
||||
window.addEventListener('DOMContentLoaded', function onDOMContentLoaded(aEvent) {
|
||||
window.removeEventListener(aEvent.type, onDOMContentLoaded, false);
|
||||
if (SSWindowStateBusyListener) {
|
||||
window.removeEventListener('SSWindowStateBusy', TSTSSWindowStateBusyListener, false);
|
||||
window.removeEventListener('SSWindowStateBusy', SSWindowStateBusyListener, false);
|
||||
SSWindowStateBusyListener = undefined;
|
||||
}
|
||||
}, false);
|
||||
|
Loading…
Reference in New Issue
Block a user