aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/tooltip_methods.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-07-12 23:57:55 +0200
committerFelix Nagel <info@felixnagel.com>2012-07-12 23:57:55 +0200
commit5092d0296a010280ee9d004f2fe06afbf1c45db5 (patch)
treeac6b97b4551b4aebf8d90cc35add82fc7088e0a3 /tests/unit/tooltip/tooltip_methods.js
parent39532f0a8e70e21e33aab03f08136f662d03a4a1 (diff)
parente054e28836e616ed03561d5a8195bbea525866d1 (diff)
downloadjquery-ui-5092d0296a010280ee9d004f2fe06afbf1c45db5.tar.gz
jquery-ui-5092d0296a010280ee9d004f2fe06afbf1c45db5.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/tooltip/tooltip_methods.js')
-rw-r--r--tests/unit/tooltip/tooltip_methods.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/tooltip/tooltip_methods.js b/tests/unit/tooltip/tooltip_methods.js
index 1b8cd2bf2..ef783cbd3 100644
--- a/tests/unit/tooltip/tooltip_methods.js
+++ b/tests/unit/tooltip/tooltip_methods.js
@@ -42,7 +42,10 @@ test( "enable/disable", function() {
element.tooltip( "disable" );
equal( $( ".ui-tooltip" ).length, 0, "no tooltip when disabled" );
- equal( tooltip.attr( "title" ), undefined, "title removed on disable" );
+ // support: jQuery <1.6.2
+ // support: IE <8
+ // We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
+ ok( !tooltip.attr( "title" ), "title removed on disable" );
element.tooltip( "open" );
equal( $( ".ui-tooltip" ).length, 0, "open does nothing when disabled" );