Slight interaction issues fixed.

This commit is contained in:
Carlos Solís 2017-08-03 19:51:25 -06:00
parent 12a0ed3ff0
commit cf71ecb60d

View file

@ -95,7 +95,7 @@
var date = new Date(startYear, startMonth-1, startDay, 0, 0, 0, 0); var date = new Date(startYear, startMonth-1, startDay, 0, 0, 0, 0);
var outputDiv = document.getElementById("output"); var outputDiv = document.getElementById("output");
//TODO: if the outputTable already exists, remove it //If the outputTable already exists, remove it
outputDiv.innerHTML = ""; outputDiv.innerHTML = "";
var outputTable = document.createElement("table"); var outputTable = document.createElement("table");
outputDiv.appendChild(outputTable); outputDiv.appendChild(outputTable);
@ -244,7 +244,7 @@
return (tomorrow.getUTCDate() == 1); return (tomorrow.getUTCDate() == 1);
} }
document.getElementById("generate-button").onclick = generate(); document.getElementById("generate-button").onclick = generate;
} }
//===== //=====