Skip to content

Commit a4191d9

Browse files
cjyabrahamTim Bannister
authored and
Tim Bannister
committed
Don't add new entries to search history here
Signed-off-by: Chris Abraham <[email protected]>
1 parent 6daa0ce commit a4191d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
var newUrl = baseUrl + "?" + urlParams.toString();
7676
// Update the browser history (optional)
77-
window.history.pushState({}, null, newUrl);
77+
history.replaceState(null, '', newUrl);
7878
}
7979

8080
// China Verification.

0 commit comments

Comments
 (0)