diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-03-21 15:54:50 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-03-21 15:54:50 -0400 |
commit | ff11b69a67e0176c851ff3bdec997c7a75d47a42 (patch) | |
tree | d032954f2627d0e4f3e1d80a6383b5944d029df6 /ui/jquery.ui.autocomplete.js | |
parent | f281ce9e6c99cc28dbbcf38b7d32bccd14b91b76 (diff) | |
download | jquery-ui-ff11b69a67e0176c851ff3bdec997c7a75d47a42.tar.gz jquery-ui-ff11b69a67e0176c851ff3bdec997c7a75d47a42.zip |
Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 3d0343379..28cfdf2fb 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -296,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 |