Added some of the fixes discussed over at Dean's blog, concerning DOM Ready.
This commit is contained in:
parent
9e27d8d1b4
commit
598fcca346
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ if ( $.browser == "mozilla" ) {
|
||||||
} else if ( $.browser == "msie" ) {
|
} else if ( $.browser == "msie" ) {
|
||||||
|
|
||||||
// Only works if you document.write() it
|
// Only works if you document.write() it
|
||||||
document.write('<script id="__ie_init" defer="true" ' +
|
document.write('<scr' + 'ipt id=__ie_init defer=true ' +
|
||||||
'src="javascript:void 0"><\/script>');
|
'src=javascript:void(0)><\/script>');
|
||||||
|
|
||||||
// Use the defer script hack
|
// Use the defer script hack
|
||||||
var script = document.getElementById('__ie_init');
|
var script = document.getElementById('__ie_init');
|
||||||
|
|
Loading…
Reference in a new issue