]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Revert mistaken event alias change 1568/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 1 Jul 2015 12:36:08 +0000 (14:36 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 1 Jul 2015 12:36:08 +0000 (14:36 +0200)
This is a call on the menu widget, not using an event alias.

Ref 8b4ce807cd97e3cb953995934d6c4f614de9fa03
Ref #12770

ui/autocomplete.js

index 8c8ce2b68fa8b9e15d20bd1506a559b70ad64ae3..de173cc4f8bfb9726213b450bd602b539e57a560 100644 (file)
@@ -262,7 +262,7 @@ $.widget( "ui.autocomplete", {
                                if ( this.isNewMenu ) {
                                        this.isNewMenu = false;
                                        if ( event.originalEvent && /^mouse/.test( event.originalEvent.type ) ) {
-                                               this.menu.trigger( "blur" );
+                                               this.menu.blur();
 
                                                this.document.one( "mousemove", function() {
                                                        $( event.target ).trigger( event.originalEvent );