removed unnecessary conditionals from app.updateHeader

v1.18.x
psychobunny 11 years ago
parent ca8f86c4ee
commit ff9d7c6c24

@ -510,7 +510,6 @@ var socket,
var userLabel = loggedInMenu.find('#user_label');
if (userLabel.length) {
if (data.userslug) {
userLabel.find('#user-profile-link').attr('href', RELATIVE_PATH + '/user/' + data.userslug);
}
@ -522,7 +521,6 @@ var socket,
}
$('#logout-link').on('click', app.logout);
}
updateOnlineStatus(data.uid);

Loading…
Cancel
Save