Do not pop notifications' popup-note while avatar menu is open

This commit is contained in:
Hadi Nategh 2019-11-25 17:16:51 +01:00
parent 5af0c56fdd
commit f77241f207

View File

@ -802,7 +802,7 @@
if (counter > 0)
{
$topmenu_info_notifications.addClass('egwpopup_notify');
$topmenu_info_notifications.append($popup_note);
if (jQuery('#egw_fw_topmenu:visible').length == 0) $topmenu_info_notifications.append($popup_note);
$popup_note.text(egw.lang('You have %1 unread notifications', counter));
setTimeout(function (){$popup_note.remove();}, 4000);
}