From 4ab0fca4d72e5639d4eec41a0e780a6bbc46e9d5 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 21 Sep 2016 16:35:42 -0500 Subject: [PATCH] Removes tooltip from profile avatar when not clickable. --- modules/UI/toolbars/Toolbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js index f7576cf52..d4812d141 100644 --- a/modules/UI/toolbars/Toolbar.js +++ b/modules/UI/toolbars/Toolbar.js @@ -407,6 +407,8 @@ const Toolbar = { if(!APP.tokenData.isGuest) { $("#toolbar_button_profile").addClass("unclickable"); + UIUtil.removeTooltip( + document.getElementById('toolbar_button_profile')); } }, /**