diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-12-10 15:13:10 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-10 15:13:10 -0500 |
commit | 9681b1fd7ee69e336906a0c383c2768ecf2d32b7 (patch) | |
tree | 9b347619857296c8c4f7691401892bf1d84492c4 /ui/jquery.ui.autocomplete.js | |
parent | 162364fae4a34bcd6e5ef9f094583b5afbdc6cc5 (diff) | |
download | jquery-ui-9681b1fd7ee69e336906a0c383c2768ecf2d32b7.tar.gz jquery-ui-9681b1fd7ee69e336906a0c383c2768ecf2d32b7.zip |
All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains.
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 95e221035..e677daf9f 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -142,7 +142,7 @@ $.widget( "ui.autocomplete", { $( document ).one( 'mousedown', function( event ) { if ( event.target !== self.element[ 0 ] && event.target !== menuElement && - !$.ui.contains( menuElement, event.target ) ) { + !$.contains( menuElement, event.target ) ) { self.close(); } }); |