Browse files

fix to objj startup loader

  • Loading branch information...
1 parent bb78767 commit 3db084ab7d86ab92b2d98a393978b9470f94dea2 @BlairDuncan committed Dec 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Objective-J/Bootstrap.js
View
2 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)

0 comments on commit 3db084a

Please sign in to comment.