From: Jens Frank Date: Wed, 6 Oct 2004 20:19:06 +0000 (+0000) Subject: BUG#634, Patch#2.1: Patch by Tom Gilder. Avoids flickering logo in MSIE 5.5 and newer X-Git-Tag: 1.5.0alpha1~1643 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=4c17e4721fd7753b03e525d63c673eee0b115b05;p=lhc%2Fweb%2Fwiklou.git BUG#634, Patch#2.1: Patch by Tom Gilder. Avoids flickering logo in MSIE 5.5 and newer --- diff --git a/skins/common/IEFixes.js b/skins/common/IEFixes.js index 4344f9c8c8..68debfe745 100644 --- a/skins/common/IEFixes.js +++ b/skins/common/IEFixes.js @@ -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(); }