mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Handle overly-precise values in tests in IE
Closes gh-1628
This commit is contained in:
parent
39853fda45
commit
81a002991e
@ -47,7 +47,10 @@ return $.extend( helper, {
|
||||
|
||||
equalHeight: function( tabs, height ) {
|
||||
tabs.find( ".ui-tabs-panel" ).each( function() {
|
||||
equal( $( this ).outerHeight(), height );
|
||||
|
||||
// Handle overly-precise values
|
||||
var actualHeight = parseFloat( $( this ).outerHeight().toFixed( 1 ) );
|
||||
equal( actualHeight, height );
|
||||
} );
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user