mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Update diplomat.jade
Fix >100% of translation.
This commit is contained in:
parent
178082d4e8
commit
a3afec0989
1 changed files with 1 additions and 1 deletions
|
@ -70,6 +70,6 @@ block content
|
|||
span.spl - #{stats.diplomats.join(', ')}
|
||||
.progress
|
||||
.progress-bar(style='width: ' + (100 * stats.completion) + '%')
|
||||
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= (100 * stats.completion).toFixed(1) + '%'
|
||||
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= Math.min(100, (100 * stats.completion).toFixed(1)) + '%'
|
||||
|
||||
div.clearfix
|
||||
|
|
Loading…
Reference in a new issue