mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
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:
@@ -98,6 +98,8 @@
|
||||
}, function(data) {
|
||||
if(data.users.length) {
|
||||
onUsersLoaded(data.users);
|
||||
} else {
|
||||
$('#load-more-users-btn').addClass('disabled');
|
||||
}
|
||||
loadingMoreUsers = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user