diff options
author | TJ VanToll <tj.vantoll@gmail.com> | 2014-08-08 08:47:25 -0400 |
---|---|---|
committer | TJ VanToll <tj.vantoll@gmail.com> | 2014-08-08 08:47:25 -0400 |
commit | 36e4bfd516c10140d8517ed9e2eb067be2e5c837 (patch) | |
tree | c227d7315159c200d953d1f06e2520dfcfe6c8e5 | |
parent | d362fc958bb5fe544d2fe51a9b651576464e29a3 (diff) | |
download | jquery-ui-36e4bfd516c10140d8517ed9e2eb067be2e5c837.tar.gz jquery-ui-36e4bfd516c10140d8517ed9e2eb067be2e5c837.zip |
Autocomplete: Use `$.trim` instead of `jQuery.trim` for consistency
Fixes #10525
-rw-r--r-- | ui/autocomplete.js | 2 |
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 ); } |