From 2ab6e9ee16d745bf63988e9218b43faae18d4ba4 Mon Sep 17 00:00:00 2001 From: Ember Date: Sun, 28 Jul 2024 13:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=A8=E9=A1=B5=E9=9D=A2qu?= =?UTF-8?q?ery=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=BB=93=E6=9E=9C=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/search/index.html b/search/index.html index 67b43d8..102ad77 100644 --- a/search/index.html +++ b/search/index.html @@ -311,7 +311,12 @@ function autoFillSearchFromQuery() { const urlParams = new URLSearchParams(window.location.search); const searchQuery = urlParams.get('searchquery'); - fillSearch(searchQuery); + if (searchQuery) { + + setTimeout(() => { + fillSearch(searchQuery); + }, 100); + } }