mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
This commit is contained in:
@@ -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 : '');
|
||||
|
||||
Reference in New Issue
Block a user