Permalink
Browse files

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

  • Loading branch information...
scottgonzalez committed May 24, 2012
1 parent 79e4ae9 commit 1af21ce27df1db7468d91f19f61423d2e9af4449
Showing with 1 addition and 2 deletions.
  1. +1 −2 ui/jquery.ui.spinner.js
View
@@ -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 );
},

0 comments on commit 1af21ce

Please sign in to comment.