fix bug
This commit is contained in:
@@ -148,7 +148,7 @@ function run(selector, fixer, rootSelector) {
|
|||||||
var mutaObserver = new MutationObserver(function (mutations) {
|
var mutaObserver = new MutationObserver(function (mutations) {
|
||||||
mutations.forEach(function (mutation) {
|
mutations.forEach(function (mutation) {
|
||||||
mutation.addedNodes.forEach(function (addNode) {
|
mutation.addedNodes.forEach(function (addNode) {
|
||||||
addNode?.querySelectorAll(selector).forEach(fixer);
|
addNode?.querySelectorAll(selector)?.forEach(fixer);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user