This commit is contained in:
Barış Soner Uşaklı
2020-11-16 21:31:55 -05:00
parent 84d545775e
commit 1d6bcbebde
9 changed files with 20 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ define('forum/topic', [
updateUserBookmark(index);
Topic.replaceURLTimeout = 0;
if (history.replaceState) {
if (ajaxify.data.updateUrlWithPostIndex && history.replaceState) {
var search = window.location.search || '';
if (!config.usePagination) {
search = (search && !/^\?page=\d+$/.test(search) ? search : '');