From 3eaae4cbcfe56a507f4f82ccae29013ec4be8ac8 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Thu, 11 Jun 2015 03:08:54 +0900 Subject: [PATCH] Unregister event listener for SSWindowStateBusy correctly --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 155db441..cd47d712 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -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);