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

This commit is contained in:
Felix Nagel 2012-10-26 19:29:30 +02:00
parent 228a9b91fb
commit b6e1c86864

View File

@ -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 );