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; }