Permalink
Browse files

Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv sh…

…ould be hidden when value is at 0%
  • Loading branch information...
kflorence authored and rdworth committed Apr 8, 2011
1 parent 9d9e1ce commit 3b77ac654b079a3098d12cca04d2397bb3863b85
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 );

0 comments on commit 3b77ac6

Please sign in to comment.