fix: don't append to history on refresh or ajaxify to same url

This commit is contained in:
Julian Lam
2022-03-15 10:43:11 -04:00
parent 445e3d704d
commit c83987bd20

View File

@@ -43,6 +43,10 @@ ajaxify = window.ajaxify || {};
return true;
}
if (!quiet && url === ajaxify.currentPage + window.location.search + window.location.hash) {
quiet = true;
}
app.leaveCurrentRoom();
$(window).off('scroll');