mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Adjusted tests for icons: false.
This commit is contained in:
parent
8f521f9d9e
commit
853b515e5c
@ -255,7 +255,7 @@ test( "{ icons: false }", function() {
|
|||||||
var element = $( "#list1" );
|
var element = $( "#list1" );
|
||||||
function icons( on ) {
|
function icons( on ) {
|
||||||
deepEqual( element.find( "span.ui-icon").length, on ? 3 : 0 );
|
deepEqual( element.find( "span.ui-icon").length, on ? 3 : 0 );
|
||||||
deepEqual( element.hasClass( "ui-accordion-icons" ), on );
|
deepEqual( element.find( ".ui-accordion-header.ui-accordion-icons" ).length, on ? 3 : 0 );
|
||||||
}
|
}
|
||||||
element.accordion();
|
element.accordion();
|
||||||
icons( true );
|
icons( true );
|
||||||
|
Loading…
Reference in New Issue
Block a user