Commit aaaa9eb2 authored by John Resig's avatar John Resig

Added a possible fix for document.ready on https: sites, in IE.

parent 4531ab13
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment