diff options
Diffstat (limited to 'tests/visual')
-rw-r--r-- | tests/visual/tooltip/tooltip.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html index 034021cd8..c0ba7a11c 100644 --- a/tests/visual/tooltip/tooltip.html +++ b/tests/visual/tooltip/tooltip.html @@ -100,8 +100,8 @@ show: { delay: 500 } - }).click(function() { - $( "#focus-on-me" ).focus(); + }).on( "click", function() { + $( "#focus-on-me" ).trigger( "focus" ); }); }); </script> |