diff options
Diffstat (limited to 'app')
-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) { |