Skip to content
Permalink
Browse files

Selectmenu: simplify tabindex attribute setting on button create

  • Loading branch information...
fnagel committed Apr 29, 2013
1 parent 68c7485 commit b84cd7e686c0e3cd924dbe48eada7de53ed09750
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.button = $( "<span>", {
"class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
tabindex: ( tabindex ? tabindex : this.options.disabled ? -1 : 0 ),
tabindex: tabindex || this.options.disabled ? -1 : 0,
id: this.ids.button,
width: this.element.outerWidth(),
role: "combobox",

0 comments on commit b84cd7e

Please sign in to comment.
You can’t perform that action at this time.