From a4191d94ea52f8c4935c144f0d89d779b16f5812 Mon Sep 17 00:00:00 2001 From: Chris Abraham Date: Sat, 22 Jun 2024 16:02:29 +0700 Subject: [PATCH] Don't add new entries to search history here Signed-off-by: Chris Abraham --- static/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/search.js b/static/js/search.js index 59b92768547c5..52c2a715639ef 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -74,7 +74,7 @@ var newUrl = baseUrl + "?" + urlParams.toString(); // Update the browser history (optional) - window.history.pushState({}, null, newUrl); + history.replaceState(null, '', newUrl); } // China Verification.