Fix notifications dropdown closing after removing an entry

This commit is contained in:
yflory 2024-01-30 11:57:35 +01:00
parent f0cc3f0947
commit faf5195d63
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ define([
}, dismissIcon);
$(dismiss).addClass("cp-clickable")
.on('click keypress', function (event) {
event.stopPropagation();
if (event.type === 'click' || (event.type === 'keypress' && event.which === 13)) {
data.content.dismissHandler();
}