mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Menu tests: Proper detection for absence of ui-state-disabled class.
This commit is contained in:
parent
51c0878c41
commit
70c5cce84e
@ -18,7 +18,7 @@ test( "{ disabled: true }", function() {
|
||||
log();
|
||||
}
|
||||
});
|
||||
ok( element.is( ".ui-state-disabled" ), "Missing ui-state-disabled class" );
|
||||
ok( element.hasClass( "ui-state-disabled" ), "Missing ui-state-disabled class" );
|
||||
log( "click", true );
|
||||
click( element, "1" );
|
||||
log( "afterclick" );
|
||||
@ -33,7 +33,7 @@ test( "{ disabled: false }", function() {
|
||||
log();
|
||||
}
|
||||
});
|
||||
ok( element.not( ".ui-state-disabled" ), "Has ui-state-disabled class" );
|
||||
ok( !element.hasClass( "ui-state-disabled" ), "Has ui-state-disabled class" );
|
||||
log( "click", true );
|
||||
click( element, "1" );
|
||||
log( "afterclick" );
|
||||
|
Loading…
Reference in New Issue
Block a user