Index: trunk/phase3/skins/common/IEFixes.js |
— | — | @@ -4,10 +4,6 @@ |
5 | 5 | window.doneIETransform = undefined; |
6 | 6 | window.doneIEAlphaFix = undefined; |
7 | 7 | |
8 | | -if ( document.attachEvent ) { |
9 | | - document.attachEvent( 'onreadystatechange', hookit ); |
10 | | -} |
11 | | - |
12 | 8 | window.hookit = function() { |
13 | 9 | if ( !doneIETransform && document.getElementById && document.getElementById( 'bodyContent' ) ) { |
14 | 10 | doneIETransform = true; |
— | — | @@ -16,6 +12,10 @@ |
17 | 13 | } |
18 | 14 | } |
19 | 15 | |
| 16 | +if ( document.attachEvent ) { |
| 17 | + document.attachEvent( 'onreadystatechange', window.hookit ); |
| 18 | +} |
| 19 | + |
20 | 20 | // png alpha transparency fixes |
21 | 21 | window.fixalpha = function( logoId ) { |
22 | 22 | // bg |