indentation

v1.18.x
pichalite 9 years ago
parent 9901438001
commit 971c3eb0e1

@ -562,8 +562,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
if (data.users.length === 0) {
chatsListEl.append('<li><div><span>No users found!</span></div></li>');
}
else {
} else {
data.users.forEach(function(userObj) {
function createUserImage() {
return (userObj.picture ?
@ -595,12 +594,10 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
}
});
}
else {
} else {
chatsListEl.empty();
}
}
};
return Chats;
});

Loading…
Cancel
Save