Removes tooltip from profile avatar when not clickable.

This commit is contained in:
damencho 2016-09-21 16:35:42 -05:00
parent df3b7e2dbc
commit 4ab0fca4d7
1 changed files with 2 additions and 0 deletions

View File

@ -407,6 +407,8 @@ const Toolbar = {
if(!APP.tokenData.isGuest) {
$("#toolbar_button_profile").addClass("unclickable");
UIUtil.removeTooltip(
document.getElementById('toolbar_button_profile'));
}
},
/**