mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
fixed user load more
This commit is contained in:
@@ -245,8 +245,8 @@ define(function() {
|
||||
socket.emit('user.loadMore', {
|
||||
set: set,
|
||||
after: $('#users-container').children().length
|
||||
}, function(data) {
|
||||
if (data.users.length) {
|
||||
}, function(err, data) {
|
||||
if (data && data.users.length) {
|
||||
onUsersLoaded(data.users);
|
||||
}
|
||||
loadingMoreUsers = false;
|
||||
|
||||
Reference in New Issue
Block a user