@ -29,7 +29,7 @@
.cp-notification-dismiss {
color: black;
width: 25px;
display: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
@ -94,8 +94,6 @@ define([
// add getters to access simply some informations
data.content.isClickable = typeof data.content.handler === "function";
data.content.isDismissible = typeof data.content.dismissHandler === "function";
} else {
// $(el).find('.cp-notification-dismiss').css('display', 'flex'); // XXX
}
},
remove: function (common, data) {
@ -66,7 +66,6 @@ define([
var dismiss = h('div.cp-notification-dismiss', {
title: Messages.notifications_dismiss
}, dismissIcon);
$(dismiss).css('display', 'flex'); // XXX
$(dismiss).addClass("cp-clickable")
.click(data.content.dismissHandler);
$(notif).append(dismiss);