mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: lint fix
This commit is contained in:
parent
67e7f18d08
commit
80d2c1180a
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -201,7 +201,7 @@ $.widget( "ui.selectmenu", {
|
|||||||
// Shouldn't the underlying menu always have accurate state?
|
// Shouldn't the underlying menu always have accurate state?
|
||||||
this.menu.find( ".ui-state-focus" ).removeClass( "ui-state-focus" );
|
this.menu.find( ".ui-state-focus" ).removeClass( "ui-state-focus" );
|
||||||
this.menuInstance.focus( null, this._getSelectedItem() );
|
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;
|
this.isOpen = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user