From 25aa0f5e2307fb68a051c68c5ff955f62ebbd235 Mon Sep 17 00:00:00 2001 From: 0x4c2 Date: Mon, 16 Oct 2023 07:00:44 +0800 Subject: [PATCH] Resolve new cursor missing issue caused by previous 'Fix cursor missing issue' PR --- assets/js/theme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/theme.js b/assets/js/theme.js index 51d359176..030f8165e 100644 --- a/assets/js/theme.js +++ b/assets/js/theme.js @@ -236,6 +236,7 @@ function initSearch () { } document.body.classList.add('blur') header.classList.add('open') + searchInput.focus() }) // Clear the search box when clicking on the clear button searchClear.addEventListener('click', () => {