]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Fix for #5154 - cleanup
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 10 Feb 2010 15:09:19 +0000 (15:09 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 10 Feb 2010 15:09:19 +0000 (15:09 +0000)
ui/jquery.ui.autocomplete.js

index 13254ed020ab9169bd3e06780bdfc54d4a1a8cbc..f6450d00eccfbbb96c8c1c5d4cb96c7eac974f1f 100644 (file)
@@ -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;