mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: fixed disabled state tabindex
This commit is contained in:
parent
469426160e
commit
9b2e0c97f0
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -74,7 +74,7 @@ $.widget( "ui.selectmenu", {
|
||||
// create button
|
||||
this.newelement = $( '<a />', {
|
||||
href: '#' + this.ids[ 0 ],
|
||||
tabindex: ( tabindex ? tabindex : this.element.attr( 'disabled' ) ? 1 : 0 ),
|
||||
tabindex: ( tabindex ? tabindex : this.element.attr( 'disabled' ) ? -1 : 0 ),
|
||||
id: this.ids[ 1 ],
|
||||
css: {
|
||||
width: this.element.outerWidth()
|
||||
|
Loading…
Reference in New Issue
Block a user