This commit is contained in:
2019-02-15 19:18:36 +01:00
parent 1a6b8eb1ad
commit ba587f769f
3 changed files with 4 additions and 4 deletions

2
dist/autoloader.js vendored
View File

@@ -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();

View File

@@ -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)

View File

@@ -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)