Skip to content

Commit

Permalink
fix(DOMReady): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Jun 22, 2017
1 parent 78ca7b8 commit 135ee8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/profile-w3c-common.js
Expand Up @@ -41,7 +41,7 @@ const domReady = new Promise(function(resolve) {
return resolve();
}
document.addEventListener("readystatechange", function listener() {
if (document.readyState === "interactive" || document.readyState === "complete" ) {
if (document.readyState !== "interactive" || document.readyState !== "complete" ) {
return;
}
document.removeEventListener("readystatechange", listener);
Expand Down

0 comments on commit 135ee8a

Please sign in to comment.