diff --git a/noname/get/index.js b/noname/get/index.js index b01adbd45..2466172d0 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -2271,14 +2271,8 @@ export class Get extends Uninstantable { static *iterableChildNodes(node){ for(let i=0;i{ for (let mutation of mutationsList) { @@ -16,7 +17,7 @@ export class ChildNodesWatcher{ } onChildNodesChanged(addedNodes,removedNodes) { - this.childNodes.addArray(Array.from(addedNodes)); + this.childNodes.addArray(Array.from(addedNodes).filter(node=>node.parentNode == this.dom)); this.childNodes.removeArray(Array.from(removedNodes)); } }; \ No newline at end of file diff --git a/noname/library/element/player.js b/noname/library/element/player.js index db78ce414..e5a44d4fa 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -3234,7 +3234,7 @@ export class Player extends HTMLDivElement { value = getCardName(card); } else { - value = cards[i][j]; + value = card[j]; } if ((typeof arg2[j] == 'string' && value != arg2[j]) || (Array.isArray(arg2[j]) && !arg2[j].includes(value))) {