Merge "Linker::link() prints deprecated warning if $query is a string"
[lhc/web/wiklou.git] / skins / common / IEFixes.js
index ba4dc66..dd999ed 100644 (file)
@@ -63,15 +63,20 @@ window.fixalpha = function( logoId ) {
        }
 };
 
+if ( isMSIE55 ) {
+       // ondomready
+       $( fixalpha );
+}
+
 // fix ie6 disappering float bug
 window.relativeforfloats = function() {
        var bc = document.getElementById( 'bodyContent' );
        if ( bc ) {
                var tables = bc.getElementsByTagName( 'table' );
                var divs = bc.getElementsByTagName( 'div' );
+               setrelative( tables );
+               setrelative( divs );
        }
-       setrelative( tables );
-       setrelative( divs );
 };
 
 window.setrelative = function( nodes ) {