diff options
author | Bryan Drewery <bryan@shatow.net> | 2015-03-07 00:38:53 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2015-03-07 00:38:53 +0300 |
commit | 0b95272edc05ca050dd8aa8773422dbdfd6af9bc (patch) | |
tree | e1802f547f5dafb1de58c2f36a0ff807f4468e64 /src/share/poudriere/html | |
parent | 849755f5e00070b8973e337739bf64c21785fd21 (diff) |
Show proper percentage in progress bar.
Spotted by AMDmi3
Bug #261
Diffstat (limited to 'src/share/poudriere/html')
-rw-r--r-- | src/share/poudriere/html/assets/poudriere.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/html/assets/poudriere.js b/src/share/poudriere/html/assets/poudriere.js index f9798dfd..9abdfe8c 100644 --- a/src/share/poudriere/html/assets/poudriere.js +++ b/src/share/poudriere/html/assets/poudriere.js @@ -173,7 +173,7 @@ function update_canvas(stats) { } else { pctdonetxt = Math.floor(pctdone); } - $('#progresspct').text(pctdone + '%'); + $('#progresspct').text(pctdonetxt + '%'); $('#stats_remaining').html(remaining); } |