From 8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Jun 2024 17:30:37 +0200 Subject: fix: blank modal when using browser navigation --- frontend/static/search.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'frontend/static') 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(); -- cgit 1.4.1