Hide status bar

This commit is contained in:
Thibault Blanc Beyne 2018-08-22 17:47:44 +02:00
parent e271be8ea0
commit 11be8e4798
1 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,15 @@
let game, context;
init();
loop();
document.addEventListener("deviceready", () => {
if (typeof StatusBar !== 'undefined') {
StatusBar.hide();
}
init();
loop();
}, false);
function init() {