From: John Resig <jeresig@gmail.com> Date: Wed, 5 Jul 2006 01:42:12 +0000 (+0000) Subject: Added a possible fix for document.ready on https: sites, in IE. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=aaaa9eb2f390d6153592c0eb2fa31db00ff2b6c0;p=jquery.git Added a possible fix for document.ready on https: sites, in IE. --- diff --git a/event/event.js b/event/event.js index 492ddad..1dae429 100644 --- a/event/event.js +++ b/event/event.js @@ -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");