diff --git a/web/assets/js/search.js b/web/assets/js/search.js index 5c3ceca..9e91eee 100644 --- a/web/assets/js/search.js +++ b/web/assets/js/search.js @@ -235,6 +235,7 @@ return false; } else if (ev.key === 'Enter' && curSearchEngine.id != '0' && searchInput.value) { jumper(searchInput.value, curSearchEngine.url, curSearchEngine.method, curSearchEngine.body); + restoreDisplay(curBookmarkList); searchInput.value = ''; clearBtn && clearBtn.classList.remove(showTip); return false; @@ -319,6 +320,7 @@ e.stopPropagation(); if (searchInput.value) { jumper(searchInput.value, curSearchEngine.url, curSearchEngine.method, curSearchEngine.body); + restoreDisplay(curBookmarkList); searchInput.value = ''; clearBtn && clearBtn.classList.remove(showTip); }