aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2010-02-10 15:09:19 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2010-02-10 15:09:19 +0000
commit84f7c90fc82fa551f12122f0672775a5f7076933 (patch)
tree0dad2e91ba37bb75e2e813d769ef1c9c8adca0ec
parent4cea3290a1ca7e784e5bd13be0cf10122eab2aee (diff)
downloadjquery-ui-84f7c90fc82fa551f12122f0672775a5f7076933.tar.gz
jquery-ui-84f7c90fc82fa551f12122f0672775a5f7076933.zip
Autocomplete: Fix for #5154 - cleanup
-rw-r--r--ui/jquery.ui.autocomplete.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 13254ed02..f6450d00e 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -257,15 +257,12 @@ $.widget( "ui.autocomplete", {
},
_move: function( direction, event ) {
- console.log("move " + direction + " with event " + event)
if ( !this.menu.element.is(":visible") ) {
- console.log("move, menu not visible")
this.search( null, event );
return;
}
if ( this.menu.first() && /^previous/.test(direction) ||
this.menu.last() && /^next/.test(direction) ) {
- console.log("move, first or last")
this.element.val( this.term );
this.menu.deactivate();
return;