mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
better fix for #3040
This commit is contained in:
@@ -61,11 +61,11 @@ $(document).ready(function() {
|
||||
});
|
||||
});
|
||||
|
||||
if (!quiet) {
|
||||
require(['search'], function(search) {
|
||||
if (search.topicDOM.active && !url.startsWith('topic/')) {
|
||||
search.topicDOM.end();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
@@ -191,7 +191,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com
|
||||
} else {
|
||||
navigator.scrollActive = false;
|
||||
postIndex = parseInt(postIndex, 10) + 1;
|
||||
ajaxify.go(generateUrl(postIndex), undefined, true);
|
||||
ajaxify.go(generateUrl(postIndex));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user