mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-21 14:07:42 +01:00
remove returnPath from replaceState
This commit is contained in:
@@ -551,7 +551,7 @@ $(document).ready(function () {
|
||||
if (ev.state.url === null && returnPath !== undefined) {
|
||||
window.history.replaceState({
|
||||
url: returnPath,
|
||||
}, '', returnPath);
|
||||
}, '');
|
||||
} else if (ev.state.url !== undefined) {
|
||||
ajaxify.handleTransientElements();
|
||||
ajaxify.go(ev.state.url, function () {
|
||||
|
||||
Reference in New Issue
Block a user