Skip to content
Browse files

Selectmenu: Do not remove ui-state-focus class on first button focus

  • Loading branch information...
1 parent 228a9b9 commit b6e1c86864708b27d7d8b38f6fd713b5391b545a @fnagel fnagel committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectmenu.js
View
1 ui/jquery.ui.selectmenu.js
@@ -304,6 +304,7 @@ $.widget( "ui.selectmenu", {
// init Menu on first focus
this.refresh();
this._off( this.button, "focus" );
+ event.preventDefault();
},
click: function( event ) {
this._toggle( event );

0 comments on commit b6e1c86

Please sign in to comment.
Something went wrong with that request. Please try again.