From ba587f769ff7621833644d83b554d88b9c75fc24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Fri, 15 Feb 2019 19:18:36 +0100 Subject: [PATCH] debug --- dist/autoloader.js | 2 +- dist/autoloaderV2.js | 4 ++-- src/autoloaderV2.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/autoloader.js b/dist/autoloader.js index bd82160..05cf5bf 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Fri Feb 15 2019 18:14:04 GMT+0100 (CET)*/ +/*Generated on:Fri Feb 15 2019 19:18:36 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 716e7fa..fab643f 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Fri Feb 15 2019 18:14:04 GMT+0100 (CET)*/ +/*Generated on:Fri Feb 15 2019 19:18:36 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -20513,7 +20513,7 @@ var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); console.log('DEBUG::', MissionID, $div, isHidden); - if ($div.length && isHidden) { + if ($div.length >=1 && !isHidden) { console.log('DEBUG::', MissionID, 'Start Observer'); var observer = new MutationObserver(function (mutations) { console.log('DEBUG::','mutations', mutations) diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index d8a03f8..bb38f32 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -2480,7 +2480,7 @@ var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); console.log('DEBUG::', MissionID, $div, isHidden); - if ($div.length && isHidden) { + if ($div.length >=1 && !isHidden) { console.log('DEBUG::', MissionID, 'Start Observer'); var observer = new MutationObserver(function (mutations) { console.log('DEBUG::','mutations', mutations)