diff --git a/dist/autoloader.js b/dist/autoloader.js index 1e90e88..27f9ee2 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Jan 21 2019 05:58:16 GMT+0100 (CET)*/ +/*Generated on:Mon Jan 21 2019 06:00:03 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index 8e20724..63c36cf 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Jan 21 2019 05:58:16 GMT+0100 (CET)*/ +/*Generated on:Mon Jan 21 2019 06:00:03 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -17692,9 +17692,9 @@ class AutomaticDispose { Check_Call_AB_Active() { let self = this; console.log($("h1:contains('AB-')").length) - console.log($("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length) - if ($("h1:contains('AB-')").length > 0 && $("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) { - $("#vehicle_show_table > tbody > tr:nth-child(1) > td:nth-child(1) > a:contains('Alarmieren')").click(); + console.log($("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length) + if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) { + $("#vehicle_show_table a:contains('Alarmieren')").click(); } else { self.Check_Call_Hospitals(); } diff --git a/server/missions/429.html b/server/missions/429.html index e72cae9..9435391 100644 --- a/server/missions/429.html +++ b/server/missions/429.html @@ -10,7 +10,7 @@ LEITSTELLENSPIEL.DE - baue deine eigene Leitstelle, in deiner Stadt! - + diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 9283d15..28e924c 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -486,9 +486,9 @@ class AutomaticDispose { Check_Call_AB_Active() { let self = this; console.log($("h1:contains('AB-')").length) - console.log($("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length) - if ($("h1:contains('AB-')").length > 0 && $("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) { - $("#vehicle_show_table > tbody > tr:nth-child(1) > td:nth-child(1) > a:contains('Alarmieren')").click(); + console.log($("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length) + if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) { + $("#vehicle_show_table a:contains('Alarmieren')").click(); } else { self.Check_Call_Hospitals(); }