From e9c0654295978a72b3b7fda620cc1a43865992c7 Mon Sep 17 00:00:00 2001 From: Brian Huisman Date: Fri, 16 Jun 2023 14:47:51 -0400 Subject: [PATCH] Update search.js Tweak the comment --- orcinus/js/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orcinus/js/search.js b/orcinus/js/search.js index 71bfb2a..05afb89 100644 --- a/orcinus/js/search.js +++ b/orcinus/js/search.js @@ -29,8 +29,8 @@ $('input.os_typeahead').attr('autocomplete', 'off').typeahead({ // Else we are online } else { - // On user click of a search suggestion, add this search to the - // query log + // On user click of a search suggestion, add this search query to + // the query log and cache fetch(new Request(window.location.origin + window.location.pathname), { method: 'POST', headers: { 'Content-type': 'application/json' },