remove returnPath from replaceState

This commit is contained in:
Barış Soner Uşaklı
2026-02-18 21:30:44 -05:00
parent f1113cfb1a
commit 26a1888abc

View File

@@ -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 () {