From 0e357f7311e65c8ba3c614eb2269c21d2bb55693 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 21 Nov 2024 10:41:11 +0800 Subject: [PATCH] :rotating_light: --- app/src/history/history.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/history/history.ts b/app/src/history/history.ts index 71f07d331..21e4f3ecc 100644 --- a/app/src/history/history.ts +++ b/app/src/history/history.ts @@ -459,6 +459,7 @@ export const openHistory = (app: App) => { } }); dialog.element.setAttribute("data-key", Constants.DIALOG_HISTORY); + dialog.element.querySelector("input").focus(); bindEvent(app, dialog.element, dialog); resizeSide(dialog.element.querySelector(".history__resize"), dialog.element.querySelector(".history__side"), "sideWidth"); }