aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.progressbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.progressbar.js')
-rw-r--r--ui/ui.progressbar.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/ui.progressbar.js b/ui/ui.progressbar.js
index 4f4fead64..16b7b8967 100644
--- a/ui/ui.progressbar.js
+++ b/ui/ui.progressbar.js
@@ -25,10 +25,12 @@ $.widget("ui.progressbar", {
this.element
.addClass("ui-progressbar")
.width(options.width)
- .attr("role","progressbar")
- .attr("aria-valuemin","0")
- .attr("aria-valuemax","100")
- .attr("aria-valuenow","0");
+ .attr({
+ role: "progressbar",
+ "aria-valuemin": 0,
+ "aria-valuemax": 100,
+ "aria-valuenow": 0
+ });
$.extend(this, {
active: false,