fixed #20
This commit is contained in:
parent
46d59dbce3
commit
d8683ed9d5
2 changed files with 24 additions and 6 deletions
|
@ -73,4 +73,21 @@ function debug(string) {
|
|||
alert("DEBUG: " + string);
|
||||
}
|
||||
|
||||
setTimeout(HostAppGo, 2000);
|
||||
function go() { // wait untill everything is loaded
|
||||
setTimeout(function() {
|
||||
|
||||
if (HostAppGo != undefined) {
|
||||
|
||||
HostAppGo();
|
||||
|
||||
} else {
|
||||
|
||||
go();
|
||||
|
||||
}
|
||||
|
||||
}, 500);
|
||||
}
|
||||
|
||||
go();
|
||||
|
||||
|
|
Reference in a new issue