Selectmenu: improve keyboard control

This commit is contained in:
Felix Nagel 2013-03-07 22:57:49 +01:00
parent f128292636
commit 6e80a19d02

View File

@ -332,9 +332,8 @@ $.widget( "ui.selectmenu", {
case $.ui.keyCode.SPACE:
if ( this.isOpen ) {
this.menu.menu( "select", event );
} else {
this._toggle( event );
}
prevDef = false;
break;
case $.ui.keyCode.LEFT:
this._move( "previous", event );