schedule bug fix
This commit is contained in:
parent
215e9e6703
commit
fd29869e29
@ -649,7 +649,7 @@
|
|||||||
document.querySelector('#previous_week_button').addEventListener("click", previous_week_schedule);
|
document.querySelector('#previous_week_button').addEventListener("click", previous_week_schedule);
|
||||||
document.querySelector('#next_week_button').addEventListener("click", next_week_schedule);
|
document.querySelector('#next_week_button').addEventListener("click", next_week_schedule);
|
||||||
// init grid structure itself
|
// init grid structure itself
|
||||||
const template = document.querySelector("#schedules_template");
|
const template = document.querySelector("#schedule_header_row_template");
|
||||||
const template_clone = template.content.cloneNode(true);
|
const template_clone = template.content.cloneNode(true);
|
||||||
const grid = document.querySelector("#schedule_grid");
|
const grid = document.querySelector("#schedule_grid");
|
||||||
grid.appendChild(template_clone);
|
grid.appendChild(template_clone);
|
||||||
|
Loading…
Reference in New Issue
Block a user