Permalink
Browse files

Selectmenu: fixed disabled state tabindex

  • Loading branch information...
1 parent 4694261 commit 9b2e0c97f07626abede66e6f95ed49179490349e @fnagel fnagel committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.selectmenu.js
@@ -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()

0 comments on commit 9b2e0c9

Please sign in to comment.