Ticket #11371: 0005-Fix-memory-leaks-in-update-replace-in-IE.-Closes-11.patch
| File 0005-Fix-memory-leaks-in-update-replace-in-IE.-Closes-11.patch, 0.9 kB (added by kangax, 7 months ago) |
|---|
-
a/src/dom.js
old new 996 996 }; 997 997 } 998 998 999 if (Prototype.Browser.IE) { 1000 $w('update replace').each(function(method) { 1001 Element.Methods[method] = Element.Methods[method].wrap( 1002 function(proceed, element, content) { 1003 $(element).childElements().each(function(child) { 1004 Event.stopObserving(child); 1005 }); 1006 proceed(element, content); 1007 } 1008 ) 1009 }) 1010 } 1011 999 1012 Element._returnOffset = function(l, t) { 1000 1013 var result = [l, t]; 1001 1014 result.left = l;