Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Init when document.readyState is interactive #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"bower_components",
"coffee",
"docs",
"js",
"test",
"bower.json",
"package.json"
Expand Down
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
});
};

if (document.readyState === 'complete') {
if (document.readyState === 'complete' || document.readyState === 'interactive') {
init();
} else if (document.addEventListener != null) {
document.addEventListener('DOMContentLoaded', init, false);
Expand Down
Loading