topics and posts counters will update for everyone

This commit is contained in:
Baris Usakli
2013-10-28 13:34:36 -04:00
parent b5a953b16c
commit ccf4ed1235
3 changed files with 11 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ define(function() {
function loadMoreTopics() {
loadingMoreTopics = true;
socket.emit('api:topics.loadMoreUnreadTopics', {
after: parseInt($('#topics-container').attr('data-next-start'), 10);
after: parseInt($('#topics-container').attr('data-next-start'), 10)
}, function(data) {
if (data.topics && data.topics.length) {
onTopicsLoaded(data.topics);