aboutsummaryrefslogtreecommitdiffstats
path: root/ui/autocomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/autocomplete.js')
-rw-r--r--ui/autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/autocomplete.js b/ui/autocomplete.js
index 3f428ea3d..0132ed7f3 100644
--- a/ui/autocomplete.js
+++ b/ui/autocomplete.js
@@ -268,7 +268,7 @@ $.widget( "ui.autocomplete", {
// Announce the value in the liveRegion
label = ui.item.attr( "aria-label" ) || item.value;
- if ( label && jQuery.trim( label ).length ) {
+ if ( label && $.trim( label ).length ) {
this.liveRegion.children().hide();
$( "<div>" ).text( label ).appendTo( this.liveRegion );
}