aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/menu
diff options
context:
space:
mode:
authorHans Hillen <hans.hillen@gmail.com>2011-04-23 17:31:25 +0200
committerHans Hillen <hans.hillen@gmail.com>2011-04-23 17:31:25 +0200
commit54795b56509cb5562fb9385ae59f10552df5cd78 (patch)
tree5fe2c8ec990dd2684d9d0090230711b8cf5803db /tests/visual/menu
parent84f918ae44ed6002d67f568ecffbb262f1e9e115 (diff)
downloadjquery-ui-54795b56509cb5562fb9385ae59f10552df5cd78.tar.gz
jquery-ui-54795b56509cb5562fb9385ae59f10552df5cd78.zip
change self.open to this.open
Diffstat (limited to 'tests/visual/menu')
-rw-r--r--tests/visual/menu/menubar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/visual/menu/menubar.js b/tests/visual/menu/menubar.js
index 8c0bd4904..8e2d51e30 100644
--- a/tests/visual/menu/menubar.js
+++ b/tests/visual/menu/menubar.js
@@ -160,7 +160,7 @@ $.widget("ui.menubar", {
this.active.menu("closeAll").hide().attr("aria-hidden", "true").attr("aria-expanded", "false");
this.active.prev().removeClass("ui-state-active").removeAttr("tabIndex");
this.active = null;
- self.open = false;
+ this.open = false;
},
_open: function(event, menu) {
@@ -185,7 +185,7 @@ $.widget("ui.menubar", {
.focus()
.focusin()
;
- self.open = true;
+ this.open = true;
},
_prev: function( event, button ) {