aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/widgets/progressbar.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/widgets/progressbar.js b/ui/widgets/progressbar.js
index 6afba892e..ba4542583 100644
--- a/ui/widgets/progressbar.js
+++ b/ui/widgets/progressbar.js
@@ -128,7 +128,9 @@ return $.widget( "ui.progressbar", {
},
_percentage: function() {
- return this.indeterminate ? 100 : 100 * ( this.options.value - this.min ) / ( this.options.max - this.min );
+ return this.indeterminate ?
+ 100 :
+ 100 * ( this.options.value - this.min ) / ( this.options.max - this.min );
},
_refreshValue: function() {