aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-21 12:02:28 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-21 12:43:35 -0400
commit9ac52deaa271d3162e3d24724faf03f0b92ba3df (patch)
tree9a64fe2a4cc0e46c5857f5fcf4b89e75fcdc6b45 /ui
parent1e586dcd486f24fda9ed277abc2d94fb8d29aee1 (diff)
downloadjquery-ui-9ac52deaa271d3162e3d24724faf03f0b92ba3df.tar.gz
jquery-ui-9ac52deaa271d3162e3d24724faf03f0b92ba3df.zip
Don't use :radio selector.
Diffstat (limited to 'ui')
-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 f84d748cf..bd0af9408 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -216,7 +216,7 @@ $.widget( "ui.button", {
if ( this.element.is(":checkbox") ) {
this.type = "checkbox";
- } else if ( this.element.is(":radio") ) {
+ } else if ( this.element.is("[type=radio]") ) {
this.type = "radio";
} else if ( this.element.is("input") ) {
this.type = "input";
@@ -358,7 +358,7 @@ $.ui.button.version = "@VERSION";
$.widget( "ui.buttonset", {
options: {
- items: ":button, :submit, :reset, :checkbox, :radio, a, :data(button)"
+ items: ":button, :submit, :reset, :checkbox, [type=radio], a, :data(button)"
},
_create: function() {