This commit is contained in:
nineMangos 2024-04-28 11:33:19 +08:00
parent c621db2a36
commit 8716617898
1 changed files with 1 additions and 1 deletions

View File

@ -2847,7 +2847,7 @@ export class Click {
let index = ui.selected.targets.indexOf(this); let index = ui.selected.targets.indexOf(this);
for (let i = 0; i < targetprompt.length; i++) { for (let i = 0; i < targetprompt.length; i++) {
const target = targets.find( const target = targets.find(
(cur) => cur.node.prompt && cur.node.prompt.innerText === targetprompt[i] (cur) => cur.node.prompt && cur.node.prompt.innerHTML === targetprompt[i]
); );
if (target) { if (target) {
targets.remove(target); targets.remove(target);