From 9c8a3f36a1c3b8339d3ea43e1b11f7e923115eb3 Mon Sep 17 00:00:00 2001 From: IceCola <739201322@qq.com> Date: Tue, 14 May 2024 23:39:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=89=E5=B0=86=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/ui/create/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noname/ui/create/index.js b/noname/ui/create/index.js index 60bed5759..a07476965 100644 --- a/noname/ui/create/index.js +++ b/noname/ui/create/index.js @@ -2034,8 +2034,9 @@ export class Create { } } }; - input.addEventListener("keyup", (e) => { + input.addEventListener("keydown", (e) => { if (e.key == "Enter") clickfind(e); + e.stopPropagation(); }); find.listen(clickfind); Searcher.appendChild(input);