Skip to content

Commit

Permalink
Improve formatting of numbers on donation thermometer
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Jun 21, 2018
1 parent 964610d commit ba57f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/js/iznik/views/supportus.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ define([
ctx.textAlign="center";
ctx.fillStyle = '#000';
var v = Math.round(i*val2);
v = target > 1000 ? (v / 1000 + 'k') : v;
v = v > 1000 ? (Math.round(v / 100,2)/10 + 'k') : v;
ctx.fillText('£' + v, -radio*1.1 - 7, y);
};

Expand Down

0 comments on commit ba57f26

Please sign in to comment.