diff --git a/Objective-J/Bootstrap.js b/Objective-J/Bootstrap.js index 3ed56821d..c20f029f5 100644 --- a/Objective-J/Bootstrap.js +++ b/Objective-J/Bootstrap.js @@ -119,7 +119,7 @@ var documentLoaded = NO; function afterDocumentLoad(/*Function*/ aFunction) { - if (documentLoaded) + if (documentLoaded || document.readyState === "complete") return aFunction(); if (window.addEventListener)