Commits

Scott Koon committed 8b33e6d

fixed typo in readystate check

Comments (0)

Files changed (1)

 
             scriptTag.onreadystatechange = function() {
                 if (!loaded) {
-                    if (this.readystate == "loaded" || this.readystate == "completed") {
+                    if (this.readyState == "loaded" || this.readyState == "completed") {
                         loaded = true;
                     }
                 }