Skip to content

Commit 801fa41

Browse files
hansonrhansonr
authored andcommitted
j2sMenu fix for menu closing prematurely
1 parent 7945ad4 commit 801fa41

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed
-6 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190118024414
1+
20190119065335
-6 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190118024414
1+
20190119065335
-6 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/src/swingjs/jquery/j2sMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ try{
6464
break;
6565
case "click_out":
6666
e(t.target).closest(".j2s-menuBar-menu").length == 0
67-
&& e(t.target).closest(".ui-menu").length||this.collapseAll(t);
67+
&& (e(t.target).closest(".ui-menu").length||me.collapseAll(t));
6868
break;
6969
case "_open":
7070
n||(n = me.active || me.activeMenu);

0 commit comments

Comments
 (0)