fix: no add green or yellow missions

This commit is contained in:
2019-02-13 15:07:30 +01:00
parent dcc1ea6789
commit dbc5d367c4
3 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/*Generated on:Wed Feb 13 2019 15:00:16 GMT+0100 (CET)*/
/*Generated on:Wed Feb 13 2019 15:07:29 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -18918,7 +18918,10 @@
}).then(() => {
if (typeof MissionID != 'undefined') {
var MissionElement = $("#mission_" + MyMission.missionID);
if (!($('#mission_panel_' + MissionID).hasClass('mission_panel_green') && $('#mission_panel_' + MissionID).hasClass('mission_panel_yellow'))) {
return self.AddMission(MissionID, Runner);
}
} else {
return self.ADisSettings.runner_divs.forEach((RunnerX, index) => {
$("#" + RunnerX).find(".missionSideBarEntry").each((index, elem) => {