all repos — searchix @ 8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: blank modal when using browser navigation
Alan Pearce alan@alanpearce.eu
Mon, 24 Jun 2024 17:30:37 +0200
commit

8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015

parent

e0d86bec7c9e8bedd1e71173b486668e16ec7c2e

1 files changed, 0 insertions(+), 3 deletions(-)

jump to
M frontend/static/search.jsfrontend/static/search.js
@@ -182,9 +182,6 @@ if (ev.state.results !== null) {       queryInput.value = ev.state.input;
       renderResults(ev.state.results);
     }
-    if (ev.state.details !== null) {
-      renderDetails(ev.state.details);
-    }
   } else {
     resultsRange.deleteContents();
     search.reset();