aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-02-23 19:37:31 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-02-23 19:39:43 +0100
commit58a5e23a7882e4438e60e354f3f2125562f9a540 (patch)
treeb2df680eb6fea5bffa75b9879431acd4e4455229 /tests/unit/tooltip
parentfa40c352af59258362d17e2f1e8642343b1ae3c0 (diff)
downloadjquery-ui-58a5e23a7882e4438e60e354f3f2125562f9a540.tar.gz
jquery-ui-58a5e23a7882e4438e60e354f3f2125562f9a540.zip
Tooltip: Replace blur with focusout to deal with inputs nested in tooltipped elements.
Diffstat (limited to 'tests/unit/tooltip')
-rw-r--r--tests/unit/tooltip/tooltip_events.js6
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" );