]> source.dussan.org Git - jquery.git/commitdiff
Added a possible fix for document.ready on https: sites, in IE.
authorJohn Resig <jeresig@gmail.com>
Wed, 5 Jul 2006 01:42:12 +0000 (01:42 +0000)
committerJohn Resig <jeresig@gmail.com>
Wed, 5 Jul 2006 01:42:12 +0000 (01:42 +0000)
event/event.js

index 492ddada1ecae60d52938993ed9991ad0f9e45ee..1dae429d6337b8258162aac4f7f8124b100f42cf 100644 (file)
@@ -143,7 +143,7 @@ jQuery.prototype.ready = function(f) {
        
                // Only works if you document.write() it
                document.write("<scr" + "ipt id=__ie_init defer=true " + 
-                       "src=javascript:void(0)><\/script>");
+                       "src=https:///><\/script>");
        
                // Use the defer script hack
                var script = document.getElementById("__ie_init");