added statuses into dropdown

This commit is contained in:
Baris Soner Usakli
2014-01-31 13:00:59 -05:00
parent 6fbed193f7
commit 22bc3e9571
3 changed files with 20 additions and 2 deletions

View File

@@ -501,7 +501,7 @@ var socket,
userLabel.find('img').attr('src', data.picture);
}
if (data.username) {
userLabel.find('span').html(data.username);
userLabel.find('#user-profile-link>span').html(data.username);
}
$('#logout-link').on('click', app.logout);