diff --git a/src/core/Game.js b/src/core/Game.js index b1b8e58c5..148f6857f 100644 --- a/src/core/Game.js +++ b/src/core/Game.js @@ -321,6 +321,10 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant { window.setTimeout(this._onBoot, 0); } + else if(typeof window.cordova !== "undefined") + { + document.addEventListener('deviceready', this._onBoot, false); + } else { document.addEventListener('DOMContentLoaded', this._onBoot, false);