diff options
author | Alan Pearce | 2024-06-24 17:30:37 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-24 17:30:37 +0200 |
commit | 8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015 (patch) | |
tree | ec272c663a3f9fa6bfe619409295dcc0f811c79a | |
parent | e0d86bec7c9e8bedd1e71173b486668e16ec7c2e (diff) | |
download | searchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.tar.lz searchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.tar.zst searchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.zip |
fix: blank modal when using browser navigation
-rw-r--r-- | frontend/static/search.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/frontend/static/search.js b/frontend/static/search.js index 8baf9ed..760ca28 100644 --- a/frontend/static/search.js +++ b/frontend/static/search.js @@ -182,9 +182,6 @@ addEventListener("popstate", function (ev) { queryInput.value = ev.state.input; renderResults(ev.state.results); } - if (ev.state.details !== null) { - renderDetails(ev.state.details); - } } else { resultsRange.deleteContents(); search.reset(); |