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