From e37f599a53d57a1fdee2fd8de01198d68aa86ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 21 May 2012 14:53:27 -0400 Subject: [PATCH] Don't use :submit selector. --- demos/button/default.html | 4 ++-- ui/jquery.ui.button.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/button/default.html b/demos/button/default.html index 60d2674c0..90369f816 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -11,7 +11,7 @@ @@ -22,7 +22,7 @@ - + An anchor diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index f3abdaf76..0feb1e893 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -357,7 +357,7 @@ $.widget( "ui.button", { $.widget( "ui.buttonset", { version: "@VERSION", options: { - items: "button, [type=button], :submit, [type=reset], [type=checkbox], [type=radio], a, :data(button)" + items: "button, [type=button], [type=submit], [type=reset], [type=checkbox], [type=radio], a, :data(button)" }, _create: function() {