diff options
author | Jon Barlow <jon.barlow@fitbit.com> | 2017-10-16 01:06:11 +0100 |
---|---|---|
committer | Jon Barlow <jon.barlow@fitbit.com> | 2017-10-16 01:06:11 +0100 |
commit | a0234de7fe58084497b0d9d94510f7e715840cce (patch) | |
tree | d14e97f1f2b66e1ec9506b747e33282402bd1797 | |
parent | a386b459010f74f50a454ebcad30aaac1f65ac3b (diff) |
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) { |