Skip to content

Commit 5cf4456

Browse files
committed
Tooltip: Lowercase test html for IE7/8 compat
1 parent af85dfc commit 5cf4456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/tooltip/tooltip_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test( "content: return jQuery", function() {
4949
}).tooltip( "open" ),
5050
liveRegion = element.tooltip( "instance" ).liveRegion;
5151
deepEqual( $( "#" + element.data( "ui-tooltip-id" ) ).text(), "customstring" );
52-
equal( liveRegion.children().last().html(), "<div>cu<b>s</b>tomstring</div>",
52+
equal( liveRegion.children().last().html().toLowerCase(), "<div>cu<b>s</b>tomstring</div>",
5353
"The accessibility live region will strip the ids but keep the structure" );
5454
});
5555

0 commit comments

Comments
 (0)