mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
closes #2597
This commit is contained in:
@@ -34,8 +34,6 @@ define('forum/topic/posts', [
|
||||
var posts = data.posts;
|
||||
socket.emit('topics.getPageCount', ajaxify.variables.get('topic_id'), function(err, newPageCount) {
|
||||
|
||||
pagination.recreatePaginationLinks(newPageCount);
|
||||
|
||||
if (pagination.currentPage === pagination.pageCount) {
|
||||
createNewPosts(data);
|
||||
} else if(data.posts && data.posts.length && parseInt(data.posts[0].uid, 10) === parseInt(app.uid, 10)) {
|
||||
|
||||
Reference in New Issue
Block a user