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