diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-03-17 20:22:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-03-18 10:39:25 -0400 |
commit | c16a5e58f9e4c130d15e86898e62707c43877ab4 (patch) | |
tree | 896d62a7d711976c767889fa5a6871623584e672 /ui/spinner.js | |
parent | 8bcd363ae640bbefc28b720c1ab58b7992ea7044 (diff) | |
download | jquery-ui-c16a5e58f9e4c130d15e86898e62707c43877ab4.tar.gz jquery-ui-c16a5e58f9e4c130d15e86898e62707c43877ab4.zip |
All: Consolidate `.removeAttr()` calls
Closes gh-1505
Diffstat (limited to 'ui/spinner.js')
-rw-r--r-- | ui/spinner.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/spinner.js b/ui/spinner.js index ff0c40885..870b2cd89 100644 --- a/ui/spinner.js +++ b/ui/spinner.js @@ -488,11 +488,7 @@ return $.widget( "ui.spinner", { _destroy: function() { this.element .prop( "disabled", false ) - .removeAttr( "autocomplete" ) - .removeAttr( "role" ) - .removeAttr( "aria-valuemin" ) - .removeAttr( "aria-valuemax" ) - .removeAttr( "aria-valuenow" ); + .removeAttr( "autocomplete role aria-valuemin aria-valuemax aria-valuenow" ); this.uiSpinner.replaceWith( this.element ); }, |