aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.progressbar.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-11-07 13:57:31 +0000
committerScott González <scott.gonzalez@gmail.com>2008-11-07 13:57:31 +0000
commitfc406b754ced61338b553133c7225367bca1534f (patch)
tree3bed6d578d4d051fdc4cba9b05602d55c4d488e5 /ui/ui.progressbar.js
parentd942907043e6e2e08217ea99e258fca72cfb7699 (diff)
downloadjquery-ui-fc406b754ced61338b553133c7225367bca1534f.tar.gz
jquery-ui-fc406b754ced61338b553133c7225367bca1534f.zip
Dialog, Progressbar: Combined ARIA attribute settings into one .attr() call.
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,