diff options
author | Jon Barlow <orviwan@users.noreply.github.com> | 2017-10-16 18:04:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 18:04:15 +0100 |
commit | 6d721d94b0c1e75f80e1d54dcfa976239188b31a (patch) | |
tree | d14e97f1f2b66e1ec9506b747e33282402bd1797 | |
parent | a386b459010f74f50a454ebcad30aaac1f65ac3b (diff) | |
parent | a0234de7fe58084497b0d9d94510f7e715840cce (diff) |
Merge pull request #1 from Fitbit/jonb/fix-prefix
Fix missing prefix
-rw-r--r-- | app/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/index.js b/app/index.js index f042714..d262ae8 100644 --- a/app/index.js +++ b/app/index.js @@ -73,8 +73,8 @@ function setDay(val) { } function drawDigits(prefix, val, place1, place2) { - place1.href = Math.floor(val / 10) + ".png"; - place2.href = Math.floor(val % 10) + ".png"; + place1.href = prefix + Math.floor(val / 10) + ".png"; + place2.href = prefix + Math.floor(val % 10) + ".png"; } function getDayImg(index) { |