From 763293bc903129c1cc60cc0911394917a5eda5bf Mon Sep 17 00:00:00 2001 From: ndrooo Date: Fri, 9 Aug 2024 18:40:27 -0400 Subject: [PATCH] Invoke search button on click or keyboard. --- quartz/components/Search.tsx | 2 +- quartz/components/scripts/search.inline.ts | 6 +++--- quartz/components/scripts/util.ts | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/quartz/components/Search.tsx b/quartz/components/Search.tsx index e00a0263e..93113d21e 100644 --- a/quartz/components/Search.tsx +++ b/quartz/components/Search.tsx @@ -18,7 +18,7 @@ export default ((userOpts?: Partial) => { const opts = { ...defaultOptions, ...userOpts } const searchPlaceholder = i18n(cfg.locale).components.search.searchBarPlaceholder return ( -