about summary refs log tree commit diff stats
path: root/frontend/static/search.js
diff options
context:
space:
mode:
authorAlan Pearce2024-06-24 17:30:37 +0200
committerAlan Pearce2024-06-24 17:30:37 +0200
commit8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015 (patch)
treeec272c663a3f9fa6bfe619409295dcc0f811c79a /frontend/static/search.js
parente0d86bec7c9e8bedd1e71173b486668e16ec7c2e (diff)
downloadsearchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.tar.lz
searchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.tar.zst
searchix-8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015.zip
fix: blank modal when using browser navigation
Diffstat (limited to 'frontend/static/search.js')
-rw-r--r--frontend/static/search.js3
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();