fixed the redis error when going to unread/recent if nextStart is missing

This commit is contained in:
Baris Soner Usakli
2014-02-22 00:49:32 -05:00
parent f4d23fe5df
commit bae76ebd70
3 changed files with 18 additions and 19 deletions

View File

@@ -47,6 +47,7 @@ define(['forum/recent'], function(recent) {
if(!$('#topics-container').length) {
return;
}
loadingMoreTopics = true;
socket.emit('topics.loadMoreUnreadTopics', {
after: $('#topics-container').attr('data-nextstart')