Skip to content
Permalink
Browse files

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

…(follow-up)
  • Loading branch information
fnagel committed Oct 27, 2012
1 parent b6e1c86 commit 684b55bcbca3721245ab66193fb6728b765632ee
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/jquery.ui.selectmenu.js
@@ -303,8 +303,9 @@ $.widget( "ui.selectmenu", {
focus: function( event ) {
// init Menu on first focus
this.refresh();
// reset focus class as its removed by ui.widget._setOption
this.button.addClass( "ui-state-focus" );
this._off( this.button, "focus" );
event.preventDefault();
},
click: function( event ) {
this._toggle( event );

0 comments on commit 684b55b

Please sign in to comment.
You can’t perform that action at this time.