This project is archived and is in readonly mode.

Document little code reduction
Reported by Fábio M. Costa | November 21st, 2008 @ 08:00 PM | in 2.0 (closed)
if (Browser.Engine.trident && Browser.Engine.version <= 4) $try(function(){
doc.execCommand("BackgroundImageCache", false, true);
});
if (Browser.Engine.trident) doc.window.attachEvent('onunload', function() {
doc.window.detachEvent('onunload', arguments.callee);
doc.head = doc.html = doc.window = null;
});
Could be changed to:
if (Browser.Engine.trident){
if(Browser.Engine.version <= 4) $try(function(){
doc.execCommand("BackgroundImageCache", false, true);
});
doc.window.attachEvent('onunload', function() {
doc.window.detachEvent('onunload', arguments.callee);
doc.head = doc.html = doc.window = null;
});
}
This starts at line 138 of Browser.js
Comments and changes to this ticket
-
Valerio January 12th, 2009 @ 04:22 PM
- State changed from new to open
-
Jan Kassens November 21st, 2009 @ 02:17 PM
- Assigned user cleared.
- State changed from open to resolved
Applies to an old version.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »