Skip to content

Commit 1af21ce

Browse files
committed
Spinner: Use _destroy() instead of destroy().
1 parent 79e4ae9 commit 1af21ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/jquery.ui.spinner.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ $.widget( "ui.spinner", {
427427
this._refresh();
428428
},
429429

430-
destroy: function() {
430+
_destroy: function() {
431431
this.element
432432
.removeClass( "ui-spinner-input" )
433433
.prop( "disabled", false )
@@ -436,7 +436,6 @@ $.widget( "ui.spinner", {
436436
.removeAttr( "aria-valuemin" )
437437
.removeAttr( "aria-valuemax" )
438438
.removeAttr( "aria-valuenow" );
439-
this._super();
440439
this.uiSpinner.replaceWith( this.element );
441440
},
442441

0 commit comments

Comments
 (0)