Skip to content

Commit 54795b5

Browse files
committed
change self.open to this.open
1 parent 84f918a commit 54795b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/visual/menu/menubar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ $.widget("ui.menubar", {
160160
this.active.menu("closeAll").hide().attr("aria-hidden", "true").attr("aria-expanded", "false");
161161
this.active.prev().removeClass("ui-state-active").removeAttr("tabIndex");
162162
this.active = null;
163-
self.open = false;
163+
this.open = false;
164164
},
165165

166166
_open: function(event, menu) {
@@ -185,7 +185,7 @@ $.widget("ui.menubar", {
185185
.focus()
186186
.focusin()
187187
;
188-
self.open = true;
188+
this.open = true;
189189
},
190190

191191
_prev: function( event, button ) {

0 commit comments

Comments
 (0)