Skip to content

Commit 3b77ac6

Browse files
kflorencerdworth
authored andcommitted
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv should be hidden when value is at 0%
1 parent 9d9e1ce commit 3b77ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.progressbar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ $.widget( "ui.progressbar", {
9393
}
9494

9595
this.valueDiv
96+
.toggle( value > this.min )
9697
.toggleClass( "ui-corner-right", value === this.options.max )
9798
.width( percentage.toFixed(0) + "%" );
9899
this.element.attr( "aria-valuenow", value );

0 commit comments

Comments
 (0)