diff --git a/src/definitions/modules/progress.js b/src/definitions/modules/progress.js index e1371377c..912e3fb18 100644 --- a/src/definitions/modules/progress.js +++ b/src/definitions/modules/progress.js @@ -183,7 +183,7 @@ $.fn.progress = function(parameters) { var value = module.value || 0, total = module.total || 0, - percent = (module.is.visible() && animating) + percent = (animating) ? module.get.displayPercent() : module.percent || 0, left = (module.total > 0) @@ -376,9 +376,7 @@ $.fn.progress = function(parameters) { ; } module.set.barWidth(percent); - if( module.is.visible() ) { - module.set.labelInterval(); - } + module.set.labelInterval(); module.set.labels(); settings.onChange.call(element, percent, module.value, module.total); },