mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-28 01:44:45 +00:00
fix for failing checkbox radio test
This commit is contained in:
parent
5b42fe6ea0
commit
94bc82f64c
1 changed files with 4 additions and 4 deletions
|
|
@ -80,11 +80,11 @@
|
|||
},
|
||||
|
||||
function(){
|
||||
ok( $radioBtns.last().attr( 'checked' ) );
|
||||
ok( $radioBtns.last().prop( 'checked' ) );
|
||||
ok( $radioBtns.last().siblings( 'label' ).hasClass( 'ui-radio-on' ),
|
||||
"last input label is an active button" );
|
||||
|
||||
ok( !$radioBtns.first().attr( 'checked' ) );
|
||||
ok( !$radioBtns.first().prop( 'checked' ) );
|
||||
ok( !$radioBtns.first().siblings( 'label' ).hasClass( 'ui-radio-on' ),
|
||||
"first input label is not active" );
|
||||
|
||||
|
|
@ -94,11 +94,11 @@
|
|||
},
|
||||
|
||||
function(){
|
||||
ok( $radioBtns.first().attr( 'checked' ));
|
||||
ok( $radioBtns.first().prop( 'checked' ));
|
||||
ok( $radioBtns.first().siblings( 'label' ).hasClass( 'ui-radio-on' ),
|
||||
"first input label is an active button" );
|
||||
|
||||
ok( !$radioBtns.last().attr( 'checked' ));
|
||||
ok( !$radioBtns.last().prop( 'checked' ));
|
||||
ok( !$radioBtns.last().siblings( 'label' ).hasClass( 'ui-radio-on' ),
|
||||
"last input label is not active" );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue