disable load more users button if there is not more users, dont show mark all read in unread if user isnt logged in

This commit is contained in:
Baris Usakli
2013-08-13 11:39:19 -04:00
parent 1894d0a469
commit 0fef0aa582
2 changed files with 4 additions and 0 deletions

View File

@@ -149,6 +149,8 @@ marked.setOptions({
Topics.getTopicsByTids(topicIds, uid, function(topicData) {
unreadTopics.topics = topicData;
unreadTopics.nextStart = start + tids.length;
if(uid === 0)
unreadTopics.show_markallread_button = 'hidden';
callback(unreadTopics);
});
}