From 13fbfb6cace726d8d46202c59a738208dd2364aa Mon Sep 17 00:00:00 2001 From: Blair Duncan Date: Tue, 10 Apr 2012 16:55:42 -0400 Subject: [PATCH] fix to enables the startup loader to continue if dynamically loaded --- Objective-J/Bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)