vendor/assets/javascripts/jquery.ui.menubar.js in enju_leaf-1.1.0.rc5 vs vendor/assets/javascripts/jquery.ui.menubar.js in enju_leaf-1.1.0.rc6
- old
+ new
@@ -207,15 +207,15 @@
.addClass( "ui-button ui-widget ui-button-text-only ui-menubar-link" )
.attr( "role", "menuitem" )
.wrapInner( "<span class='ui-button-text'></span>" );
this._on( anItem, {
- focus: function(){
+ focus: function( event ){
anItem.attr( "tabIndex", 0 );
anItem.addClass( "ui-state-focus" );
event.preventDefault();
},
- focusout: function(){
+ focusout: function( event ){
anItem.attr( "tabIndex", -1 );
this.lastFocused = anItem;
anItem.removeClass( "ui-state-focus" );
event.preventDefault();
}