@@ -11,7 +11,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
1111 } ,
1212 _create : function ( ) {
1313 var input = this . element ,
14- label = $ ( input ) . closest ( "form,fieldset,[data-role='page']" ) . find ( "label[for='" + input . attr ( "id" ) + "']" ) ,
14+ label = input . closest ( "form,fieldset,[data-role='page']" ) . find ( "label[for='" + input . attr ( "id" ) + "']" ) ,
1515 inputtype = input . attr ( "type" ) ,
1616 checkedicon = "ui-icon-" + inputtype + "-on" ,
1717 uncheckedicon = "ui-icon-" + inputtype + "-off" ;
@@ -76,7 +76,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
7676
7777 refresh : function ( ) {
7878 var input = this . element ,
79- label = $ ( input ) . closest ( "form,fieldset,[data-role='page']" ) . find ( "label[for='" + input . attr ( "id" ) + "']" ) ,
79+ label = input . closest ( "form,fieldset,[data-role='page']" ) . find ( "label[for='" + input . attr ( "id" ) + "']" ) ,
8080 inputtype = input . attr ( "type" ) ,
8181 icon = label . find ( ".ui-icon" ) ,
8282 checkedicon = "ui-icon-" + inputtype + "-on" ,
0 commit comments