Skip to content

Commit

Permalink
fix(onsenui.js): fixed ons.bootstrap() on Windows, fixes #777
Browse files Browse the repository at this point in the history
  • Loading branch information
andipavllo committed Jul 14, 2015
1 parent ad398f2 commit 3f68dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/js/onsen.js
Expand Up @@ -327,7 +327,7 @@ limitations under the License.
var module = angular.module(name, deps);

var doc = window.document;
if (doc.readyState == 'loading' || doc.readyState == 'uninitialized') {
if (doc.readyState == 'loading' || doc.readyState == 'uninitialized' || doc.readyState == 'interactive') {
doc.addEventListener('DOMContentLoaded', function() {
angular.bootstrap(doc.documentElement, [name]);
}, false);
Expand Down

0 comments on commit 3f68dc2

Please sign in to comment.