aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.progressbar.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-12-15 01:10:32 +0100
committerFelix Nagel <info@felixnagel.com>2012-12-15 01:10:32 +0100
commit8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad (patch)
treecf465822774b24aa3fbec3ff8eddb17d14f731ae /ui/jquery.ui.progressbar.js
parent25023c30407b92a5c44f117df560b9c87d6d94da (diff)
parent8ec7a1b69ffd86edbef06e30ca4368600531e649 (diff)
downloadjquery-ui-8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad.tar.gz
jquery-ui-8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.progressbar.js')
-rw-r--r--ui/jquery.ui.progressbar.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.progressbar.js b/ui/jquery.ui.progressbar.js
index 163bb06cd..e8b9b911a 100644
--- a/ui/jquery.ui.progressbar.js
+++ b/ui/jquery.ui.progressbar.js
@@ -112,9 +112,10 @@ $.widget( "ui.progressbar", {
this.valueDiv
.toggle( this.indeterminate || value > this.min )
.toggleClass( "ui-corner-right", value === this.options.max )
- .toggleClass( "ui-progressbar-indeterminate", this.indeterminate )
.width( percentage.toFixed(0) + "%" );
+ this.element.toggleClass( "ui-progressbar-indeterminate", this.indeterminate );
+
if ( this.indeterminate ) {
this.element.removeAttr( "aria-valuenow" );
if ( !this.overlayDiv ) {