From efb723464185563b14d21127215395d7b7bcbf30 Mon Sep 17 00:00:00 2001 From: flifloo Date: Mon, 28 Sep 2020 15:10:36 +0200 Subject: [PATCH] Little fix on index day label --- public/javascripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/index.js b/public/javascripts/index.js index e393aa4..0211d55 100644 --- a/public/javascripts/index.js +++ b/public/javascripts/index.js @@ -3,7 +3,7 @@ const sandwich = document.getElementById("sandwich"); const day = document.getElementById("day"); const locals = { sandwich: document.querySelector("#oderCreator label").innerHTML, - date: document.querySelector("label[for=day]").innerHTML + day: document.querySelector("label[for=day]").innerText }; function lastOrderId() {