From cf71ecb60d005ea812187b31bf348afd1025c378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Sol=C3=ADs?= Date: Thu, 3 Aug 2017 19:51:25 -0600 Subject: [PATCH] Slight interaction issues fixed. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ebb33d6..f5a29ec 100644 --- a/index.html +++ b/index.html @@ -95,7 +95,7 @@ var date = new Date(startYear, startMonth-1, startDay, 0, 0, 0, 0); var outputDiv = document.getElementById("output"); - //TODO: if the outputTable already exists, remove it + //If the outputTable already exists, remove it outputDiv.innerHTML = ""; var outputTable = document.createElement("table"); outputDiv.appendChild(outputTable); @@ -244,7 +244,7 @@ return (tomorrow.getUTCDate() == 1); } - document.getElementById("generate-button").onclick = generate(); + document.getElementById("generate-button").onclick = generate; } //=====