aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.button.js')
-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 f104f890d..1b6442975 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -27,7 +27,7 @@ $.widget("ui.button", {
secondary: null
}
},
- _init: function() {
+ _create: function() {
this._determineButtonType();
this.hasTitle = !!this.buttonElement.attr('title');
@@ -208,7 +208,7 @@ $.widget("ui.button", {
});
$.widget("ui.buttonset", {
- _init: function() {
+ _create: function() {
this.element.addClass("ui-button-set");
this.buttons = this.element.find(':button, :submit, :reset, :checkbox, :radio, a, .ui-button')
.button()