aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-21 15:54:50 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-21 15:54:50 -0400
commitff11b69a67e0176c851ff3bdec997c7a75d47a42 (patch)
treed032954f2627d0e4f3e1d80a6383b5944d029df6 /ui/jquery.ui.autocomplete.js
parentf281ce9e6c99cc28dbbcf38b7d32bccd14b91b76 (diff)
downloadjquery-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.js2
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