possible fix for users/online duplication

v1.18.x
Baris Usakli 12 years ago
parent 0a0a91d4b2
commit f36583e676

@ -75,7 +75,7 @@
}); });
socket.on('api:user.isOnline', function(data) { socket.on('api:user.isOnline', function(data) {
if(active == 'online') { if(active == 'online' && !loadMoreUsers) {
$('#users-container').empty(); $('#users-container').empty();
startLoading('users:online', 0); startLoading('users:online', 0);
} }

Loading…
Cancel
Save