修复选将输入框的bug
This commit is contained in:
parent
1e467bea6d
commit
9c8a3f36a1
|
@ -2034,8 +2034,9 @@ export class Create {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
input.addEventListener("keyup", (e) => {
|
input.addEventListener("keydown", (e) => {
|
||||||
if (e.key == "Enter") clickfind(e);
|
if (e.key == "Enter") clickfind(e);
|
||||||
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
find.listen(clickfind);
|
find.listen(clickfind);
|
||||||
Searcher.appendChild(input);
|
Searcher.appendChild(input);
|
||||||
|
|
Loading…
Reference in New Issue