|
@ -183,7 +183,7 @@ $.fn.progress = function(parameters) { |
|
|
var |
|
|
var |
|
|
value = module.value || 0, |
|
|
value = module.value || 0, |
|
|
total = module.total || 0, |
|
|
total = module.total || 0, |
|
|
percent = (module.is.visible() && animating) |
|
|
|
|
|
|
|
|
percent = (animating) |
|
|
? module.get.displayPercent() |
|
|
? module.get.displayPercent() |
|
|
: module.percent || 0, |
|
|
: module.percent || 0, |
|
|
left = (module.total > 0) |
|
|
left = (module.total > 0) |
|
@ -376,9 +376,7 @@ $.fn.progress = function(parameters) { |
|
|
; |
|
|
; |
|
|
} |
|
|
} |
|
|
module.set.barWidth(percent); |
|
|
module.set.barWidth(percent); |
|
|
if( module.is.visible() ) { |
|
|
|
|
|
module.set.labelInterval(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
module.set.labelInterval(); |
|
|
module.set.labels(); |
|
|
module.set.labels(); |
|
|
settings.onChange.call(element, percent, module.value, module.total); |
|
|
settings.onChange.call(element, percent, module.value, module.total); |
|
|
}, |
|
|
}, |
|
|