diff options
Diffstat (limited to 'tests/unit/tooltip/tooltip_events.js')
-rw-r--r-- | tests/unit/tooltip/tooltip_events.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/tooltip/tooltip_events.js b/tests/unit/tooltip/tooltip_events.js index 99e1fbd79..bf60c3cdc 100644 --- a/tests/unit/tooltip/tooltip_events.js +++ b/tests/unit/tooltip/tooltip_events.js @@ -47,9 +47,9 @@ test( "focus events", function() { element.trigger( "focusin" ); element.one( "tooltipclose", function( event ) { - same( event.originalEvent.type, "blur" ); + same( event.originalEvent.type, "focusout" ); }); - element.trigger( "blur" ); + element.trigger( "focusout" ); }); asyncTest( "mixed events", function() { @@ -74,7 +74,7 @@ asyncTest( "mixed events", function() { // blurring is async in IE element.one( "tooltipclose", function( event ) { - same( event.originalEvent.type, "blur" ); + same( event.originalEvent.type, "focusout" ); start(); }); element.simulate( "blur" ); |