Merge pull request #1283 from nineMangos/dev

一个小bug的修复
This commit is contained in:
Spmario233 2024-04-28 19:43:30 +08:00 committed by GitHub
commit f0c87fd32f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);