BUG#634, Patch#2.1: Patch by Tom Gilder. Avoids flickering logo in MSIE 5.5 and newer
authorJens Frank <jeluf@users.mediawiki.org>
Wed, 6 Oct 2004 20:19:06 +0000 (20:19 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Wed, 6 Oct 2004 20:19:06 +0000 (20:19 +0000)
skins/common/IEFixes.js

index 4344f9c..68debfe 100644 (file)
@@ -1,12 +1,14 @@
 // IE fixes javascript
 
 var isMSIE55 = (window.showModalDialog && window.clipboardData && window.createPopup);
+var doneIETransform;
 
 if (document.attachEvent)
   document.attachEvent('onreadystatechange', hookit);
 
 function hookit() {
-    if (document.getElementById && document.getElementById('bodyContent')) {
+    if (!doneIETransform && document.getElementById && document.getElementById('bodyContent')) {
+        doneIETransform = true;
         fixalpha();
         relativeforfloats();
     }