aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-24 15:21:35 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-24 15:21:35 -0400
commit1af21ce27df1db7468d91f19f61423d2e9af4449 (patch)
treed1507f017b7aa72ad978731b2ddc9887f41c2be6 /ui/jquery.ui.spinner.js
parent79e4ae93b56d50ac61873205f1b5142d2f5a87e9 (diff)
downloadjquery-ui-1af21ce27df1db7468d91f19f61423d2e9af4449.tar.gz
jquery-ui-1af21ce27df1db7468d91f19f61423d2e9af4449.zip
Spinner: Use _destroy() instead of destroy().
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 1e4204a0c..b01feec9a 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -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 );
},