Skip to content

Commit

Permalink
fix: Hide dropdown menu on click
Browse files Browse the repository at this point in the history
(cherry picked from commit 52d284f)
  • Loading branch information
surajshetty3416 authored and mergify[bot] committed Apr 17, 2023
1 parent 2cc1092 commit 454f3a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frappe/public/js/frappe/ui/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ frappe.ui.toolbar.Toolbar = class {
})
);
$(".dropdown-toggle").dropdown();
$("#toolbar-user a[href]").click(function () {
$(this).closest(".dropdown-menu").prev().dropdown("toggle");
});

this.setup_awesomebar();
this.setup_notifications();
Expand Down

0 comments on commit 454f3a7

Please sign in to comment.