Skip to content

Commit b6e1c86

Browse files
committed
Selectmenu: Do not remove ui-state-focus class on first button focus
1 parent 228a9b9 commit b6e1c86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ $.widget( "ui.selectmenu", {
304304
// init Menu on first focus
305305
this.refresh();
306306
this._off( this.button, "focus" );
307+
event.preventDefault();
307308
},
308309
click: function( event ) {
309310
this._toggle( event );

0 commit comments

Comments
 (0)