优化
This commit is contained in:
parent
ce08ce241b
commit
eb500a74f8
|
@ -295,13 +295,21 @@
|
||||||
|
|
||||||
document.querySelector('.father-cut-pager-class-no-page').classList.remove('father-cut-pager-class-no-page');
|
document.querySelector('.father-cut-pager-class-no-page').classList.remove('father-cut-pager-class-no-page');
|
||||||
|
|
||||||
|
let list = document.querySelector('ul#pblist');
|
||||||
$("#list_pager>a").on("click", function () {
|
let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
|
||||||
setTimeout(t, 3000);
|
let observer = new MutationObserver((mutations) => {
|
||||||
|
if (mutations.length > 0) {
|
||||||
|
t();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$('.j_pager_input').blur(() => {
|
|
||||||
setTimeout(t, 3000);
|
observer.observe(list, {
|
||||||
})
|
attributes: true,
|
||||||
|
childList: true,
|
||||||
|
characterData: true
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user