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 3b3294b..3df1ae7 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();
                        };