From a0234de7fe58084497b0d9d94510f7e715840cce Mon Sep 17 00:00:00 2001 From: Jon Barlow Date: Mon, 16 Oct 2017 01:06:11 +0100 Subject: Fix missing prefix --- app/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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) { -- cgit v1.2.3