mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: improve keyboard control
This commit is contained in:
parent
f128292636
commit
6e80a19d02
3
ui/jquery.ui.selectmenu.js
vendored
3
ui/jquery.ui.selectmenu.js
vendored
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user