]> source.dussan.org Git - jquery.git/commitdiff
Added some of the fixes discussed over at Dean's blog, concerning DOM Ready.
authorJohn Resig <jeresig@gmail.com>
Fri, 16 Jun 2006 00:19:47 +0000 (00:19 +0000)
committerJohn Resig <jeresig@gmail.com>
Fri, 16 Jun 2006 00:19:47 +0000 (00:19 +0000)
event/event.js

index 5511b351e2e4898c3d27fdf998c49b118fd384d2..b705dbadc269f73b7631c0cb9f8af315ec215fa3 100644 (file)
@@ -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');