v291832943
This commit is contained in:
2
dist/autoloader.js
vendored
2
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Fri Jan 11 2019 02:15:04 GMT+0100 (CET)*/
|
||||
/*Generated on:Fri Jan 11 2019 02:21:48 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();
|
||||
|
||||
23
dist/autoloaderV2.js
vendored
23
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Fri Jan 11 2019 02:15:04 GMT+0100 (CET)*/
|
||||
/*Generated on:Fri Jan 11 2019 02:21:48 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -19762,6 +19762,7 @@ class AutomaticDispose {
|
||||
$(document).ready(function () {
|
||||
var $div = $("a:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
||||
var isShow = $div.is(':hidden');
|
||||
var ppppp = undefined;
|
||||
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||
console.log($div, isShow, MissionID);
|
||||
if ($div.length && isShow) {
|
||||
@@ -19770,19 +19771,23 @@ $(document).ready(function () {
|
||||
console.log(mutation.type, MissionID);
|
||||
console.table(mutation, MissionID);
|
||||
if (mutation.attributeName === "style") {
|
||||
setTimeout(function () {
|
||||
if (typeof ppppp != 'undefined'){
|
||||
clearTimeout(ppppp);
|
||||
}
|
||||
ppppp = setTimeout(function () {
|
||||
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||
}, 1500);
|
||||
}
|
||||
});
|
||||
});
|
||||
observer.observe($div[0], {
|
||||
attributes: true,
|
||||
characterData: true,
|
||||
attributeOldValue: true,
|
||||
characterDataOldValue: true
|
||||
});
|
||||
|
||||
$div.each(function(index,item){
|
||||
observer.observe(item, {
|
||||
attributes: true,
|
||||
characterData: true,
|
||||
attributeOldValue: true,
|
||||
characterDataOldValue: true
|
||||
});
|
||||
})
|
||||
$div.click();
|
||||
} else {
|
||||
window.AutomaticDisposeCall = new AutomaticDispose();
|
||||
|
||||
Reference in New Issue
Block a user