This commit is contained in:
2019-01-11 03:27:44 +01:00
parent cf810edc92
commit e457312516
3 changed files with 10 additions and 14 deletions

View File

@@ -1130,10 +1130,8 @@ class AutomaticDispose {
// $('#' + runnerIframe).attr("mission_id", 'empty');
// setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
// })
} else {
// only while
// setTimeout(self.OpenNextMission.bind(self), 5000, Runner);
}
}
return;
});
} else {
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
@@ -1159,7 +1157,7 @@ class AutomaticDispose {
const runnerID = self.ADisSettings.runner_iframesName.indexOf(window.name);
self.MyRunner = self.ADisSettings.runner[runnerID];
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
setTimeout(function () {
//setTimeout(function () {
self.MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
var help_el = $('a#mission_help');
if (help_el.length > 0) {
@@ -1218,7 +1216,7 @@ class AutomaticDispose {
})
})
// }
}, 500);
//}, 500);
}