Selectmenu: lint fix

This commit is contained in:
Felix Nagel 2013-10-21 21:18:33 +02:00
parent 67e7f18d08
commit 80d2c1180a

View File

@ -201,7 +201,7 @@ $.widget( "ui.selectmenu", {
// Shouldn't the underlying menu always have accurate state?
this.menu.find( ".ui-state-focus" ).removeClass( "ui-state-focus" );
this.menuInstance.focus( null, this._getSelectedItem() );
this.menuItems.eq( this.element[ 0 ].selectedIndex ).addClass( "ui-state-active" );
this.menuItems.eq( this.element[ 0 ].selectedIndex ).addClass( "ui-state-active" );
}
this.isOpen = true;