progress bar matches new UI

This commit is contained in:
Artur Adib 2012-04-25 17:32:26 -04:00
parent a423827e0f
commit f06ca00e1c
2 changed files with 21 additions and 11 deletions

View file

@ -62,6 +62,9 @@ var ProgressBar = (function ProgressBarClosure() {
updateBar: function ProgressBar_updateBar() {
var progressSize = this.width * this._percent / 100;
if (this._percent > 95)
this.div.classList.add('full');
this.div.style.width = progressSize + this.units;
},