Unregister event listener for SSWindowStateBusy correctly

This commit is contained in:
Piro / YUKI Hiroshi 2015-06-11 03:08:54 +09:00
parent 94428a1b2d
commit 3eaae4cbcf

View File

@ -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);