From: Krinkle Date: Sat, 14 Jan 2012 00:40:48 +0000 (+0000) Subject: [Core JS] Fix code from r107327 which was broken by r108222 X-Git-Tag: 1.31.0-rc.0~25281 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=0159bc52161921c77d4c5c71ca451b0207d18944;p=lhc%2Fweb%2Fwiklou.git [Core JS] Fix code from r107327 which was broken by r108222 -- Of course one most not assume the DOM is finished enough for #p-logo to be parsed, simply bind to document ready --- diff --git a/skins/common/IEFixes.js b/skins/common/IEFixes.js index 427d41c4d6..dd999ed420 100644 --- a/skins/common/IEFixes.js +++ b/skins/common/IEFixes.js @@ -63,10 +63,9 @@ window.fixalpha = function( logoId ) { } }; -if( isMSIE55 ) { - // Legacy modules are loaded from the bottom - // No need to wait for DOMContentReady or window.onload - fixalpha(); +if ( isMSIE55 ) { + // ondomready + $( fixalpha ); } // fix ie6 disappering float bug