mirror of https://github.com/xwiki-labs/cryptpad
Fix notifications dropdown closing after removing an entry
This commit is contained in:
parent
f0cc3f0947
commit
faf5195d63
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue