We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4d706 commit c3dcf4eCopy full SHA for c3dcf4e
ui/selectmenu.js
@@ -67,8 +67,7 @@ return $.widget( "ui.selectmenu", {
67
},
68
69
_drawButton: function() {
70
- var that = this,
71
- tabindex = this.element.attr( "tabindex" );
+ var that = this;
72
73
// Associate existing label with the new button
74
this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button );
@@ -85,7 +84,7 @@ return $.widget( "ui.selectmenu", {
85
84
// Create button
86
this.button = $( "<span>", {
87
"class": "ui-selectmenu-button ui-widget ui-state-default ui-corner-all",
88
- tabindex: tabindex || this.options.disabled ? -1 : 0,
+ tabindex: this.options.disabled ? -1 : 0,
89
id: this.ids.button,
90
role: "combobox",
91
"aria-expanded": "false",
0 commit comments