mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: lint fix
This commit is contained in:
parent
cf6dbd8b6b
commit
bdfe7196a2
4
ui/jquery.ui.selectmenu.js
vendored
4
ui/jquery.ui.selectmenu.js
vendored
@ -179,8 +179,8 @@ $.widget( "ui.selectmenu", {
|
|||||||
// Make sure menu is selected item aware
|
// Make sure menu is selected item aware
|
||||||
this.menu.menu( "focus", null, item );
|
this.menu.menu( "focus", null, item );
|
||||||
this._setAria( item.data( "ui-selectmenu-item" ) );
|
this._setAria( item.data( "ui-selectmenu-item" ) );
|
||||||
|
|
||||||
this._setText( this.buttonText, item.text() );
|
this._setText( this.buttonText, item.text() );
|
||||||
|
|
||||||
// Set disabled state
|
// Set disabled state
|
||||||
this._setOption( "disabled", !!this.element.prop( "disabled" ) );
|
this._setOption( "disabled", !!this.element.prop( "disabled" ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user