v2 update

This commit is contained in:
2018-12-17 19:30:34 +01:00
parent bbdde391ae
commit 729fe6c857
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:29:09 GMT+0100 (CET)*/ /*Generated on:Mon Dec 17 2018 19:30:34 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+4 -4
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:29:09 GMT+0100 (CET)*/ /*Generated on:Mon Dec 17 2018 19:30:34 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -18782,13 +18782,13 @@ class AutomaticDispose {
Wunsche.sort((a, b) => { Wunsche.sort((a, b) => {
return a.next_check - b.next_check; return a.next_check - b.next_check;
}); });
//console.log("TIME:", Math.floor(new Date().getTime() / 1000)) console.log("TIME:", Math.floor(new Date().getTime() / 1000))
//console.table(Wunsche); //console.table(Wunsche);
if (Wunsche.length > 0) { if (Wunsche.length > 0) {
let myWunsch = Wunsche[0]; let myWunsch = Wunsche[0];
// console.log("MYWUNSCH:") console.log("MYWUNSCH:")
// console.table(myWunsch); console.table(myWunsch);
let MissionID = myWunsch.missionID; let MissionID = myWunsch.missionID;
if ($('#' + runnerIframe).attr("mission_id") == "empty") { if ($('#' + runnerIframe).attr("mission_id") == "empty") {
$('#' + runnerIframe).attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID); $('#' + runnerIframe).attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);
+3 -3
View File
@@ -1122,13 +1122,13 @@ class AutomaticDispose {
Wunsche.sort((a, b) => { Wunsche.sort((a, b) => {
return a.next_check - b.next_check; return a.next_check - b.next_check;
}); });
//console.log("TIME:", Math.floor(new Date().getTime() / 1000)) console.log("TIME:", Math.floor(new Date().getTime() / 1000))
//console.table(Wunsche); //console.table(Wunsche);
if (Wunsche.length > 0) { if (Wunsche.length > 0) {
let myWunsch = Wunsche[0]; let myWunsch = Wunsche[0];
// console.log("MYWUNSCH:") console.log("MYWUNSCH:")
// console.table(myWunsch); console.table(myWunsch);
let MissionID = myWunsch.missionID; let MissionID = myWunsch.missionID;
if ($('#' + runnerIframe).attr("mission_id") == "empty") { if ($('#' + runnerIframe).attr("mission_id") == "empty") {
$('#' + runnerIframe).attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID); $('#' + runnerIframe).attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);