mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
accordion tests: Fixed autoHeight tests.
This commit is contained in:
parent
3fd0d70dee
commit
46cfa2f147
@ -14,11 +14,11 @@ test("basics", function() {
|
||||
});
|
||||
|
||||
test("autoheight", function() {
|
||||
$('#navigation').accordion({ header: '.head', autoheight: false });
|
||||
$('#navigation').accordion({ header: '.head', autoHeight: false });
|
||||
equals( 90, $('#navigation ul:first').height() );
|
||||
equals( 126, $('#navigation ul:eq(1)').height() );
|
||||
equals( 54, $('#navigation ul:last').height() );
|
||||
$('#navigation').accordion("destroy").accordion({ header: '.head',autoheight: true });
|
||||
$('#navigation').accordion("destroy").accordion({ header: '.head', autoHeight: true });
|
||||
equals( 126, $('#navigation ul:first').height() );
|
||||
equals( 126, $('#navigation ul:eq(1)').height() );
|
||||
equals( 126, $('#navigation ul:last').height() );
|
||||
|
Loading…
Reference in New Issue
Block a user