From: John Resig Date: Sun, 2 Sep 2007 22:34:18 +0000 (+0000) Subject: Reverted the change that I made in #1320. X-Git-Tag: 1.2~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a5c319f922efcf34652d0632a945d20a0ab36ca6;p=jquery.git Reverted the change that I made in #1320. --- diff --git a/src/event/event.js b/src/event/event.js index 3b3294ba2..3df1ae716 100644 --- a/src/event/event.js +++ b/src/event/event.js @@ -982,7 +982,7 @@ function bindReady(){ // script does not exist if jQuery is loaded dynamically if ( script ) script.onreadystatechange = function() { - if ( document.readyState != "complete" ) return; + if ( this.readyState != "complete" ) return; jQuery.ready(); };