aboutsummaryrefslogtreecommitdiffstats
path: root/ui/progressbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/progressbar.js')
-rw-r--r--ui/progressbar.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/progressbar.js b/ui/progressbar.js
index 69e550c58..4dc44d22a 100644
--- a/ui/progressbar.js
+++ b/ui/progressbar.js
@@ -69,11 +69,7 @@ return $.widget( "ui.progressbar", {
},
_destroy: function() {
- this.element
- .removeAttr( "role" )
- .removeAttr( "aria-valuemin" )
- .removeAttr( "aria-valuemax" )
- .removeAttr( "aria-valuenow" );
+ this.element.removeAttr( "role aria-valuemin aria-valuemax aria-valuenow" );
this.valueDiv.remove();
},