Timothy Jaeryang Baek 2 月之前
父节点
当前提交
95f9d69e9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/layout/SearchModal.svelte

+ 1 - 1
src/lib/components/layout/SearchModal.svelte

@@ -146,7 +146,7 @@
 
 	const onKeyDown = (e) => {
 		const searchOptions = document.getElementById('search-options-container');
-		if (searchOptions) {
+		if (searchOptions || !show) {
 			return;
 		}