fix: close notification pane correctly

This commit is contained in:
sokumon 2026-02-17 23:37:09 +05:30
parent 481d43e0e5
commit a0bb44f0f0

View file

@ -55,13 +55,9 @@ frappe.ui.Notifications = class Notifications {
.on("click", (e) => {
if (this.full_height) {
this.dropdown.addClass("hidden");
} else {
this.dropdown_list.addClass("hidden");
}
})
.appendTo(this.header_actions)
.attr("title", __("Close"))
.tooltip({ delay: { show: 600, hide: 100 }, trigger: "hover" });
.appendTo(this.header_actions);
this.categories = [
{