aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.button.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 9adf0c193..fd01cf750 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -89,9 +89,9 @@ $.widget( "ui.button", {
radios;
if ( name ) {
if ( form ) {
- radios = $( form ).find( "[name=" + name + "]" );
+ radios = $( form ).find( "[name='" + name + "']" );
} else {
- radios = $( "[name=" + name + "]", radio.ownerDocument )
+ radios = $( "[name='" + name + "']", radio.ownerDocument )
.filter(function() {
return !this.form;
});