Skip to content

Commit

Permalink
Fixed MaterialPopupMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzlou7979 committed Apr 28, 2023
1 parent 724fff0 commit 33745d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected void onLoad() {
public void load() {
$(this).attr("tabindex", "0");

$(window()).off().on("mouseup", e -> {
$(this).off("mouseup").on("mouseup", e -> {
boolean closest = $(e.target).closest("#" + id).length() == 0;
if (autoClose && closest) {
close();
Expand Down

0 comments on commit 33745d7

Please sign in to comment.