|
|
|
@ -15,7 +15,7 @@ var routes = [
|
|
|
|
|
pageAfterIn: function () {
|
|
|
|
|
function tryToLoadHomePage() {
|
|
|
|
|
if (typeof loadHomePage != "function") {
|
|
|
|
|
setTimeout(tryToLoadHomePage, 500);
|
|
|
|
|
setTimeout(tryToLoadHomePage, 100);
|
|
|
|
|
} else {
|
|
|
|
|
loadHomePage(function () {});
|
|
|
|
|
}
|
|
|
|
@ -32,7 +32,7 @@ var routes = [
|
|
|
|
|
pageAfterIn: function () {
|
|
|
|
|
function tryToLoadInventory() {
|
|
|
|
|
if (typeof loadInventory != "function") {
|
|
|
|
|
setTimeout(loadInventory, 500);
|
|
|
|
|
setTimeout(loadInventory, 100);
|
|
|
|
|
} else {
|
|
|
|
|
loadInventory(function () {});
|
|
|
|
|
}
|
|
|
|
@ -49,7 +49,7 @@ var routes = [
|
|
|
|
|
pageAfterIn: function () {
|
|
|
|
|
function tryToLoadProfile() {
|
|
|
|
|
if (typeof loadProfile != "function") {
|
|
|
|
|
setTimeout(loadProfile, 500);
|
|
|
|
|
setTimeout(loadProfile, 100);
|
|
|
|
|
} else {
|
|
|
|
|
loadProfile(function () {});
|
|
|
|
|
}
|
|
|
|
|