Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ould be hidden when value is at 0%

(cherry picked from commit 3b77ac6)
  • Loading branch information...
commit 3c13b33682655be2a2f1c68b45cd500530997c41 1 parent e388153
@kflorence kflorence authored rdworth committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  ui/jquery.ui.progressbar.js
View
1  ui/jquery.ui.progressbar.js
@@ -95,6 +95,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 );
Please sign in to comment.
Something went wrong with that request. Please try again.