v2 uaß0aßgi0
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Mon Dec 17 2018 00:32:20 GMT+0100 (CET)*/
|
||||
/*Generated on:Mon Dec 17 2018 00:35:59 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();
|
||||
|
||||
Vendored
+6
-2
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Mon Dec 17 2018 00:32:20 GMT+0100 (CET)*/
|
||||
/*Generated on:Mon Dec 17 2018 00:35:59 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -18970,8 +18970,9 @@ class AutomaticDispose {
|
||||
StartAlarmProcess() {
|
||||
const self = this;
|
||||
setTimeout(function () {
|
||||
var $div = $("a.btn-warning.missing_vehicles_load");
|
||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
||||
console.log($div.length, $div);
|
||||
if ($div.length) {
|
||||
var observer = new MutationObserver(function (mutations) {
|
||||
mutations.forEach(function (mutation) {
|
||||
if (mutation.attributeName === "class") {
|
||||
@@ -19049,6 +19050,9 @@ class AutomaticDispose {
|
||||
});
|
||||
|
||||
$div.click();
|
||||
} else {
|
||||
self.UpdateMissionsToDone(self.MissionID)
|
||||
}
|
||||
}, 500);
|
||||
|
||||
}
|
||||
|
||||
+5
-1
@@ -1310,8 +1310,9 @@ class AutomaticDispose {
|
||||
StartAlarmProcess() {
|
||||
const self = this;
|
||||
setTimeout(function () {
|
||||
var $div = $("a.btn-warning.missing_vehicles_load");
|
||||
var $div = $("#mission-form > div:nth-child(7) > a");
|
||||
console.log($div.length, $div);
|
||||
if ($div.length) {
|
||||
var observer = new MutationObserver(function (mutations) {
|
||||
mutations.forEach(function (mutation) {
|
||||
if (mutation.attributeName === "class") {
|
||||
@@ -1389,6 +1390,9 @@ class AutomaticDispose {
|
||||
});
|
||||
|
||||
$div.click();
|
||||
} else {
|
||||
self.UpdateMissionsToDone(self.MissionID)
|
||||
}
|
||||
}, 500);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user