Index: lib/objectTabs.js |
=================================================================== |
--- a/lib/objectTabs.js |
+++ b/lib/objectTabs.js |
@@ -298,17 +298,17 @@ var objTabs = |
try { |
objtab.parentNode.removeChild(objtab); |
} catch (e) {} |
objtab.removeEventListener("mouseover", objectTabEventHander, false); |
objtab.removeEventListener("mouseout", objectTabEventHander, false); |
objtab.nodeData = null; |
- for each (let wnd in this.windowListeners) |
+ for (let wnd of this.windowListeners) |
wnd.removeEventListener("MozAfterPaint", objectWindowEventHandler, false); |
this.windowListeners = null; |
} |
}, |
/** |
* Updates position of the tab element. |
*/ |