mirror of https://github.com/xwiki-labs/cryptpad
fix notification bug fixed #1430
This commit is contained in:
parent
9473a4e8d8
commit
08f5c47672
|
@ -1195,7 +1195,7 @@ MessengerUI, Messages, Pages, PadTypes) {
|
|||
if (![13,32,46].includes(e.which)) { return; }
|
||||
e.stopPropagation();
|
||||
if (e.which === 46) {
|
||||
$(div).find('li').focus();
|
||||
$('body').find('.cp-dropdown-content li').first().focus();
|
||||
return $(el).find('.cp-notification-dismiss').click();
|
||||
}
|
||||
$(el).find('.cp-notification-content').click();
|
||||
|
|
Loading…
Reference in New Issue