]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Whitespace
authorScott González <scott.gonzalez@gmail.com>
Fri, 16 Oct 2015 18:14:45 +0000 (14:14 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 16 Oct 2015 18:14:45 +0000 (14:14 -0400)
tests/unit/autocomplete/core.js

index 9cfac39172d313c9aabb1ee19822bc3916c0a3ac..e252970ee3c79a7d3e721e6cb4d1ce71f05856a6 100644 (file)
@@ -412,10 +412,10 @@ asyncTest( "Close on click outside when focus remains", function() {
        } );
 
        element.val( "j" ).autocomplete( "search", "j" );
-       setTimeout(function() {
+       setTimeout( function() {
                ok( menu.is( ":visible" ), "menu displays initially" );
                $( "body" ).simulate( "mousedown" );
-               setTimeout(function() {
+               setTimeout( function() {
                        ok( menu.is( ":hidden" ), "menu closes after clicking elsewhere" );
                        start();
                } );