From 0159bc52161921c77d4c5c71ca451b0207d18944 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sat, 14 Jan 2012 00:40:48 +0000 Subject: [PATCH] [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 --- skins/common/IEFixes.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.20.1