Slight interaction issues fixed.
This commit is contained in:
parent
12a0ed3ff0
commit
cf71ecb60d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
//=====
|
//=====
|
||||||
|
|
Loading…
Add table
Reference in a new issue