We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d29640 + 37e6c11 commit fccc5c3Copy full SHA for fccc5c3
src/prototype/dom/dom.js
@@ -3468,5 +3468,14 @@
3468
}
3469
3470
Element.addMethods(methods);
3471
-
+
3472
+ // Prevent IE leaks on DIV and ELEMENT_CACHE
3473
+ function destroyCache_IE() {
3474
+ DIV = null;
3475
+ ELEMENT_CACHE = null;
3476
+ }
3477
3478
+ if (window.attachEvent)
3479
+ window.attachEvent('onunload', destroyCache_IE);
3480
3481
})(this);
0 commit comments