diff options
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index bc9ab61f5..3533579e2 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/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", |