Added a possible fix for document.ready on https: sites, in IE.
This commit is contained in:
parent
4531ab1324
commit
aaaa9eb2f3
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ jQuery.prototype.ready = function(f) {
|
||||||
|
|
||||||
// Only works if you document.write() it
|
// Only works if you document.write() it
|
||||||
document.write("<scr" + "ipt id=__ie_init defer=true " +
|
document.write("<scr" + "ipt id=__ie_init defer=true " +
|
||||||
"src=javascript:void(0)><\/script>");
|
"src=https:///><\/script>");
|
||||||
|
|
||||||
// Use the defer script hack
|
// Use the defer script hack
|
||||||
var script = document.getElementById("__ie_init");
|
var script = document.getElementById("__ie_init");
|
||||||
|
|
Loading…
Reference in a new issue