]> source.dussan.org Git - jquery-ui.git/commitdiff
change self.open to this.open
authorHans Hillen <hans.hillen@gmail.com>
Sat, 23 Apr 2011 15:31:25 +0000 (17:31 +0200)
committerHans Hillen <hans.hillen@gmail.com>
Sat, 23 Apr 2011 15:31:25 +0000 (17:31 +0200)
tests/visual/menu/menubar.js

index 8c0bd49046eaac80ab0da659f54dfb8880695217..8e2d51e30d46a5e2bdbcbc0f0c26f212b70fb92b 100644 (file)
@@ -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 ) {