Skip to content
Permalink
Browse files
Added a possible fix for document.ready on https: sites, in IE.
  • Loading branch information
jeresig committed Jul 5, 2006
1 parent 4531ab1 commit aaaa9eb2f390d6153592c0eb2fa31db00ff2b6c0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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");

0 comments on commit aaaa9eb

Please sign in to comment.