Skip to content
Permalink
Browse files

Added some of the fixes discussed over at Dean's blog, concerning DOM…

… Ready.
  • Loading branch information
jeresig committed Jun 16, 2006
1 parent 9e27d8d commit 598fcca346535040416d01aa6d2da53f8b1e8422
Showing with 2 additions and 2 deletions.
  1. +2 −2 event/event.js
@@ -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');

0 comments on commit 598fcca

Please sign in to comment.
You can’t perform that action at this time.