Skip to content

Commit

Permalink
Don't add new entries to search history here
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham authored and sftim committed Jul 3, 2024
1 parent 6daa0ce commit a4191d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a4191d9

Please sign in to comment.