1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-29 18:18:56 +01:00

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 2e43fecd66
commit ffecac79fd

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);
}