fix refactor
This commit is contained in:
parent
1476a9b2b8
commit
ff5fa5d683
@ -624,7 +624,7 @@
|
||||
if (i === 0) {
|
||||
// first column of schedule, set up the grid
|
||||
const current_day_indicator = document.querySelector("#current_day_indicator");
|
||||
current_week_indicator.innerHTML = `Schedule for <strong>${day_of_schedule.toDateString()}</strong>`;
|
||||
current_day_indicator.innerHTML = `Schedule for <strong>${day_of_schedule.toDateString()}</strong>`;
|
||||
// set up previous/next buttons
|
||||
document.querySelector('#previous_day_button').addEventListener("click", previous_day_schedule);
|
||||
document.querySelector('#next_day_button').addEventListener("click", next_day_schedule);
|
||||
|
Loading…
Reference in New Issue
Block a user