mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Spinner: Use _destroy() instead of destroy().
This commit is contained in:
parent
79e4ae93b5
commit
1af21ce27d
3
ui/jquery.ui.spinner.js
vendored
3
ui/jquery.ui.spinner.js
vendored
@ -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 );
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user