Spinner: Use _destroy() instead of destroy().

This commit is contained in:
Scott González 2012-05-24 15:21:35 -04:00
parent 79e4ae93b5
commit 1af21ce27d

View File

@ -427,7 +427,7 @@ $.widget( "ui.spinner", {
this._refresh();
},
destroy: function() {
_destroy: function() {
this.element
.removeClass( "ui-spinner-input" )
.prop( "disabled", false )
@ -436,7 +436,6 @@ $.widget( "ui.spinner", {
.removeAttr( "aria-valuemin" )
.removeAttr( "aria-valuemax" )
.removeAttr( "aria-valuenow" );
this._super();
this.uiSpinner.replaceWith( this.element );
},