From ea0470f099076b6029cdc3a8a0596b68d8e95730 Mon Sep 17 00:00:00 2001 From: Matt Lins Date: Sat, 30 Oct 2010 15:12:37 -0500 Subject: [PATCH] Ensure more specific selector works for radio --- js/jquery.mobile.forms.checkboxradio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 323a4372..059e2eae 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -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() {