We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f667bb3 commit 30d431bCopy full SHA for 30d431b
ui/jquery.ui.spinner.js
@@ -331,18 +331,12 @@ $.widget('ui.spinner', {
331
},
332
333
destroy: function() {
334
- if ($.fn.mousewheel) {
335
- this.element.unmousewheel();
336
- }
337
-
338
this.element
339
.removeClass('ui-spinner-input')
340
.removeAttr('disabled')
341
- .removeAttr('autocomplete')
342
- .removeData('spinner')
343
- .unbind(".spinner");
344
345
- this.uiSpinner.replaceWith(this.element);
+ .removeAttr('autocomplete');
+ $.Widget.prototype.destroy.call( this );
+ this.uiSpinner.replaceWith(this.element);
346
347
348
enable: function() {
0 commit comments