aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-23 17:55:53 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-23 17:55:53 -0500
commit29bfb86ce2e192dae456bf15655c25cb469ad977 (patch)
tree0a04105d04814b8e4cdbfb018bb1c567598abe04 /ui/jquery.ui.button.js
parent8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7 (diff)
downloadjquery-ui-29bfb86ce2e192dae456bf15655c25cb469ad977.tar.gz
jquery-ui-29bfb86ce2e192dae456bf15655c25cb469ad977.zip
All: Define defaultElement for non-div widgets.
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index b1d060a42..8f63ec57a 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -43,6 +43,7 @@ var lastActive,
};
$.widget( "ui.button", {
+ defaultElement: "<button>",
options: {
disabled: null,
text: true,