Skip to content

Commit

Permalink
Merge pull request chrisdiana#66 from rimselis/fix-issue-cdmedia65
Browse files Browse the repository at this point in the history
Premature setNavigation() invocation fix (issue chrisdiana#65)
  • Loading branch information
chrisdiana committed Mar 27, 2017
2 parents 2b644f0 + 7b2ebfb commit 35b61cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ var CMS = {
}

// Execute after all content is loaded
if (counter === numFiles) {
if (CMS[type + 's'].length === numFiles) {
CMS.contentLoaded(type);
}
},
Expand Down

0 comments on commit 35b61cb

Please sign in to comment.