Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
svankamamidi committed Aug 15, 2024
1 parent f96b4e8 commit 175f51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
});
// Event listener for clicking outside the menu
$(document).on("click", function(event) {
if (!$(event.target).closest("#item-edit-menu").length) {
if (!$(event.target).closest("#item-edit-menu, #ul-level-1").length) {
$("#item-edit-menu").hide();
}
});
Expand Down

0 comments on commit 175f51d

Please sign in to comment.