This commit is contained in:
Gabe Yuan
2023-11-07 17:47:42 +08:00
parent 8d074e63e1
commit b00f636b72

View File

@@ -148,7 +148,7 @@ function run(selector, fixer, rootSelector) {
var mutaObserver = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
mutation.addedNodes.forEach(function (addNode) {
addNode.querySelectorAll(selector).forEach(fixer);
addNode?.querySelectorAll(selector).forEach(fixer);
});
});
});