fixes #1796
This commit is contained in:
@@ -132,7 +132,9 @@ $.widget( "ui.autocomplete", {
|
|||||||
if ( this.menu.active ) {
|
if ( this.menu.active ) {
|
||||||
this.menu.select( event );
|
this.menu.select( event );
|
||||||
}
|
}
|
||||||
event.preventDefault();
|
if ( !this.menu.element.is( ":visible" ) ) {
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case keyCode.ESCAPE:
|
case keyCode.ESCAPE:
|
||||||
if ( this.menu.element.is( ":visible" ) ) {
|
if ( this.menu.element.is( ":visible" ) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user