schedules bug fix

This commit is contained in:
Sundog Jones 2024-09-03 16:28:43 -04:00
parent c2848de06d
commit 28bcba2c41

View File

@ -649,9 +649,9 @@
document.querySelector('#previous_week_button').addEventListener("click", previous_week_schedule);
document.querySelector('#next_week_button').addEventListener("click", next_week_schedule);
// init grid structure itself
const grid = document.querySelector("#schedule_grid");
const template = document.querySelector("#schedules_template");
const template_clone = template.content.cloneNode(true);
const grid = document.querySelector("#schedule_grid");
grid.appendChild(template_clone);
}
// put date at top of appropriate column of the grid