From 6dedfedded4f2299ad629760f5e5835c4f8ae69c Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Wed, 4 Dec 2024 15:00:03 +0800 Subject: [PATCH] Update js/search.js --- js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/search.js b/js/search.js index 859e1817b7..eaa544980b 100644 --- a/js/search.js +++ b/js/search.js @@ -294,7 +294,7 @@ const initSearchModal = () => { // Open when / is pressed document.addEventListener("keydown", (event) => { - if (event.target.contentEditable) { + if (event.target.contentEditable === 'true') { return; }