mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: fixed disabled option
This commit is contained in:
1
ui/jquery.ui.selectmenu.js
vendored
1
ui/jquery.ui.selectmenu.js
vendored
@@ -371,6 +371,7 @@ $.widget( "ui.selectmenu", {
|
||||
if ( value ) {
|
||||
this.element.attr( "disabled", "disabled" );
|
||||
this.button.attr( "tabindex", -1 );
|
||||
this.close();
|
||||
} else {
|
||||
this.element.removeAttr( "disabled" );
|
||||
this.button.attr( "tabindex", 0 );
|
||||
|
||||
Reference in New Issue
Block a user