]> source.dussan.org Git - jquery.git/commitdiff
Reverted the change that I made in #1320.
authorJohn Resig <jeresig@gmail.com>
Sun, 2 Sep 2007 22:34:18 +0000 (22:34 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 2 Sep 2007 22:34:18 +0000 (22:34 +0000)
src/event/event.js

index 3b3294ba203dfab23fabf71b8e532c1f0ac86c06..3df1ae716ef1fea5bb3fe5b83f3aa737b9e7c957 100644 (file)
@@ -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();
                        };