diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 21:54:08 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:55 -0400 |
commit | 8b4ce807cd97e3cb953995934d6c4f614de9fa03 (patch) | |
tree | c75ff8ea4984536656668ad35f463d0601e4429b /tests/unit/autocomplete/options.js | |
parent | b240eed81b96c9c4128ca5682d876fbc6f96a9c4 (diff) | |
download | jquery-ui-8b4ce807cd97e3cb953995934d6c4f614de9fa03.tar.gz jquery-ui-8b4ce807cd97e3cb953995934d6c4f614de9fa03.zip |
Autocomplete: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests/unit/autocomplete/options.js')
-rw-r--r-- | tests/unit/autocomplete/options.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/autocomplete/options.js b/tests/unit/autocomplete/options.js index a07a8d636..06c75722b 100644 --- a/tests/unit/autocomplete/options.js +++ b/tests/unit/autocomplete/options.js @@ -87,7 +87,7 @@ function autoFocusTest( afValue, focusedLength ) { start(); } }); - element.val( "ja" ).keydown(); + element.val( "ja" ).trigger( "keydown" ); stop(); } @@ -108,7 +108,7 @@ asyncTest( "delay", function() { delay: 25 }), menu = element.autocomplete( "widget" ); - element.val( "ja" ).keydown(); + element.val( "ja" ).trigger( "keydown" ); ok( menu.is( ":hidden" ), "menu is closed immediately after search" ); @@ -125,7 +125,7 @@ asyncTest( "disabled", function( assert ) { delay: 0 }), menu = element.autocomplete( "disable" ).autocomplete( "widget" ); - element.val( "ja" ).keydown(); + element.val( "ja" ).trigger( "keydown" ); ok( menu.is( ":hidden" ) ); |