From b7419a87f67cd8176923a3bd2b7b216792508dd3 Mon Sep 17 00:00:00 2001 From: giomba Date: Sat, 5 Jan 2019 15:41:49 +0100 Subject: [PATCH] Typo fix --- frontend/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/frontend.js b/frontend/frontend.js index 4660082..c517a8a 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -25,7 +25,7 @@ function zerocalcareDisplay() { dateElement.appendChild(document.createTextNode('📅 ' + m.format('dddd D MMMM YYYY') )); var timeElement = document.createElement('div'); - var timeString = (json_obj[i]['ALL_DAY'] == true) ? 'Tutto il giorno' : ('ore ' + m.format('HH:mm')); + var timeString = (json_obj[i]['ALLDAY'] == true) ? 'Tutto il giorno' : ('ore ' + m.format('HH:mm')); timeElement.appendChild(document.createTextNode('⏰ ' + timeString)); // add if location is not empty -- default location should be selected by backend