Button: removed explicit call to _init() from _create(). Fixes #6165 - buttonset: refresh() fires twice on create

This commit is contained in:
= 2010-10-09 02:05:18 +08:00 committed by Scott González
parent 09073f042e
commit 03efae2887

View File

@ -317,7 +317,6 @@ $.widget( "ui.button", {
$.widget( "ui.buttonset", { $.widget( "ui.buttonset", {
_create: function() { _create: function() {
this.element.addClass( "ui-buttonset" ); this.element.addClass( "ui-buttonset" );
this._init();
}, },
_init: function() { _init: function() {