indentation

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

@ -580,15 +580,15 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
chatEl.click(function() { chatEl.click(function() {
socket.emit('modules.chats.hasPrivateChat', userObj.uid, function(err, roomId) { socket.emit('modules.chats.hasPrivateChat', userObj.uid, function(err, roomId) {
if (err) { if (err) {
return app.alertError(err.message); return app.alertError(err.message);
} }
if (roomId) { if (roomId) {
ajaxify.go('chats/' + roomId); ajaxify.go('chats/' + roomId);
} else { } else {
app.newChat(userObj.uid); app.newChat(userObj.uid);
} }
}); });
}); });
}); });
} }

Loading…
Cancel
Save