From 963ddd76944c9adca1a4babdca26db06fec48c3c Mon Sep 17 00:00:00 2001 From: Benjamin Schenker Date: Sun, 8 Mar 2015 19:11:08 -0500 Subject: [PATCH] Fix Health and EXP rounding on stats page to match header --- website/views/shared/profiles/stats.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/views/shared/profiles/stats.jade b/website/views/shared/profiles/stats.jade index 7c9e3d18db..47335e2533 100644 --- a/website/views/shared/profiles/stats.jade +++ b/website/views/shared/profiles/stats.jade @@ -3,7 +3,7 @@ table.table.table-striped tr td strong=env.t('health') - | : {{profile.stats.hp | number:0}} / 50 + | : {{Math.ceil(profile.stats.hp)}} / 50 tr(ng-if='profile.stats.lvl >= 10 && !profile.preferences.disableClasses') td strong=env.t('mana') @@ -19,7 +19,7 @@ table.table.table-striped tr td strong=env.t('experience') - | : {{profile.stats.exp | number:0}} / {{Shared.tnl(profile.stats.lvl)}} + | : {{Math.floor(profile.stats.exp)}} / {{Shared.tnl(profile.stats.lvl)}} // FIXME get translations working before can use this unless mobile