Ensure more specific selector works for radio

This commit is contained in:
Matt Lins 2010-10-30 15:12:37 -05:00
parent 7e49a8f648
commit ea0470f099

View file

@ -55,7 +55,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
.bind({
click: function() {
jQuery( "input[name='" + input.attr( "name" ) + "'][type='checkbox']" ).checkboxradio( "refresh" );
jQuery( "input[name='" + input.attr( "name" ) + "'][type='" + input.attr( "type" ) + "']" ).checkboxradio( "refresh" );
},
focus: function() {