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 c0864df commit 7b9813cCopy full SHA for 7b9813c
ui/jquery.ui.selectmenu.js
@@ -302,8 +302,7 @@ $.widget( "ui.selectmenu", {
302
event.stopImmediatePropagation();
303
},
304
click: function( event ) {
305
- // return false needed to prevent browser from following the anchor
306
- return false;
+ event.preventDefault();
307
308
keydown: function( event ) {
309
switch (event.keyCode) {
@@ -367,7 +366,7 @@ $.widget( "ui.selectmenu", {
367
366
this.button.attr( "tabindex", -1 );
368
} else {
369
this.element.removeAttr( "disabled" );
370
- this.button.attr( "tabindex", 1 );
+ this.button.attr( "tabindex", 0 );
371
}
372
this.menu.attr( "aria-disabled", value );
373
this.close();
0 commit comments