aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.progressbar.js
diff options
context:
space:
mode:
authorKyle Florence <kyle.florence@gmail.com>2011-04-08 16:55:14 -0700
committerRichard Worth <rdworth@gmail.com>2011-04-09 14:27:10 -0400
commit3b77ac654b079a3098d12cca04d2397bb3863b85 (patch)
treea9d511db021cec9117298351832daa54ba755bac /ui/jquery.ui.progressbar.js
parent9d9e1ce12225302776497d0a98271e904740b4fd (diff)
downloadjquery-ui-3b77ac654b079a3098d12cca04d2397bb3863b85.tar.gz
jquery-ui-3b77ac654b079a3098d12cca04d2397bb3863b85.zip
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv should be hidden when value is at 0%
Diffstat (limited to 'ui/jquery.ui.progressbar.js')
-rw-r--r--ui/jquery.ui.progressbar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.progressbar.js b/ui/jquery.ui.progressbar.js
index cb89a1c39..e3b25cfd7 100644
--- a/ui/jquery.ui.progressbar.js
+++ b/ui/jquery.ui.progressbar.js
@@ -93,6 +93,7 @@ $.widget( "ui.progressbar", {
}
this.valueDiv
+ .toggle( value > this.min )
.toggleClass( "ui-corner-right", value === this.options.max )
.width( percentage.toFixed(0) + "%" );
this.element.attr( "aria-valuenow", value );