[Core JS] Fix code from r107327 which was broken by r108222
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 14 Jan 2012 00:40:48 +0000 (00:40 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 14 Jan 2012 00:40:48 +0000 (00:40 +0000)
-- 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

index 427d41c..dd999ed 100644 (file)
@@ -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