diff options
author | Felix Nagel <info@felixnagel.com> | 2013-04-02 19:42:19 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-04-02 19:42:19 +0200 |
commit | 73c7342bc4418a902bf021c89e7d2c43172e004e (patch) | |
tree | 1c4d622cc91c2cfb76a0ee1e5977ac2b03799551 /ui/jquery.ui.autocomplete.js | |
parent | 26c528a4a3b712760792c62b005307a2fe0f6ba6 (diff) | |
parent | 09b3533910e887377fc87126608db1ded06f38f6 (diff) | |
download | jquery-ui-73c7342bc4418a902bf021c89e7d2c43172e004e.tar.gz jquery-ui-73c7342bc4418a902bf021c89e7d2c43172e004e.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 92ddc3a12..28cfdf2fb 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -195,8 +195,6 @@ $.widget( "ui.autocomplete", { .addClass( "ui-autocomplete ui-front" ) .appendTo( this._appendTo() ) .menu({ - // custom key handling for now - input: $(), // disable ARIA support, the live region takes care of that role: null }) @@ -298,7 +296,7 @@ $.widget( "ui.autocomplete", { "aria-live": "polite" }) .addClass( "ui-helper-hidden-accessible" ) - .insertAfter( this.element ); + .insertBefore( this.element ); // turning off autocomplete prevents the browser from remembering the // value when navigating through history, so we re-enable autocomplete |