v2 up 9ag098augjo

This commit is contained in:
2018-12-17 17:10:05 +01:00
parent dadca832ce
commit 60f672bf97
3 changed files with 8 additions and 4 deletions

View File

@@ -1425,7 +1425,9 @@ class AutomaticDispose {
}
setTimeout(function () {
var $div = $("#mission-form > div:nth-child(7) > a");
if ($div.length) {
var isShow = $div.is(':visible');
console.log ($div, isShow);
if ($div.length && isShow) {
var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
if (mutation.attributeName === "style") {