diff --git a/dist/autoloader.js b/dist/autoloader.js index 05cf5bf..07b12d9 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Fri Feb 15 2019 19:18:36 GMT+0100 (CET)*/ +/*Generated on:Fri Feb 15 2019 19:21:15 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 fab643f..c8b60d1 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Fri Feb 15 2019 19:18:36 GMT+0100 (CET)*/ +/*Generated on:Fri Feb 15 2019 19:21:15 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -20513,12 +20513,12 @@ var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); console.log('DEBUG::', MissionID, $div, isHidden); - if ($div.length >=1 && !isHidden) { + if ($div.length >= 1) { console.log('DEBUG::', MissionID, 'Start Observer'); var observer = new MutationObserver(function (mutations) { - console.log('DEBUG::','mutations', mutations) + console.log('DEBUG::', 'mutations', mutations) mutations.forEach(function (mutation) { - console.log('DEBUG::','mutation', mutation) + console.log('DEBUG::', 'mutation', mutation) if (mutation.attributeName === "style") { if ($(mutation.target).css('display') == 'none') { if (typeof ppppp != 'undefined') { diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index bb38f32..22f314f 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -2480,12 +2480,12 @@ var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); console.log('DEBUG::', MissionID, $div, isHidden); - if ($div.length >=1 && !isHidden) { + if ($div.length >= 1) { console.log('DEBUG::', MissionID, 'Start Observer'); var observer = new MutationObserver(function (mutations) { - console.log('DEBUG::','mutations', mutations) + console.log('DEBUG::', 'mutations', mutations) mutations.forEach(function (mutation) { - console.log('DEBUG::','mutation', mutation) + console.log('DEBUG::', 'mutation', mutation) if (mutation.attributeName === "style") { if ($(mutation.target).css('display') == 'none') { if (typeof ppppp != 'undefined') {