Skip to content

Commit

Permalink
prevent double ready messages on some browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
U-Eric-PC\Eric authored and U-Eric-PC\Eric committed Apr 17, 2011
1 parent b84a65c commit c4afb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/now.js
Expand Up @@ -341,7 +341,7 @@ var now = {

var nowJSScriptLoaded = function(){
dependenciesLoaded++;
if(dependenciesLoaded < dependencies.length) {
if(dependenciesLoaded !== dependencies.length) {
return;
}

Expand Down

0 comments on commit c4afb1e

Please sign in to comment.