|
|
|
@ -149,7 +149,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
|
|
|
|
var postcount = $('.user_postcount_' + data.posts[i].uid);
|
|
|
|
|
postcount.html(parseInt(postcount.html(), 10) + 1);
|
|
|
|
|
}
|
|
|
|
|
socket.emit('topics.markAsRead', [tid]);
|
|
|
|
|
|
|
|
|
|
createNewPosts(data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -195,7 +195,6 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function updateTopicTitle() {
|
|
|
|
|
if($(window).scrollTop() > 50) {
|
|
|
|
|
$('.header-topic-title').find('span').text(ajaxify.variables.get('topic_name')).show();
|
|
|
|
@ -442,6 +441,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
|
|
|
|
});
|
|
|
|
|
hidePostToolsForDeletedPosts();
|
|
|
|
|
} else {
|
|
|
|
|
socket.emit('topics.markAsRead', [tid]);
|
|
|
|
|
navigator.update();
|
|
|
|
|
done();
|
|
|
|
|
}
|
|
|
|
|