aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/button.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/button.js b/ui/button.js
index 4b401e1a3..96fea440f 100644
--- a/ui/button.js
+++ b/ui/button.js
@@ -40,9 +40,9 @@ var lastActive,
if ( name ) {
name = name.replace( /'/g, "\\'" );
if ( form ) {
- radios = $( form ).find( "[name='" + name + "']" );
+ radios = $( form ).find( "[name='" + name + "'][type=radio]" );
} else {
- radios = $( "[name='" + name + "']", radio.ownerDocument )
+ radios = $( "[name='" + name + "'][type=radio]", radio.ownerDocument )
.filter(function() {
return !this.form;
});