Add descriptive tooltip for avatar status

This commit is contained in:
Hadi Nategh
2019-07-31 11:43:36 +02:00
parent f4840d1d87
commit 33aa092453
7 changed files with 2 additions and 12 deletions

View File

@ -467,7 +467,7 @@
if (!$menu.is(":visible"))
{
$body.on('click', function(e){
if (e.target.id != 'topmenu_info_user_avatar')
if (e.target.id != 'topmenu_info_user_avatar' && jQuery(e.target).parents('#topmenu_info_user_avatar').length < 1)
{
jQuery(this).off(e);
$menu.toggle();