d
This commit is contained in:
parent
f0a404b3c1
commit
8f41e0f5bd
@ -641,12 +641,14 @@
|
||||
const previous_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
const day = new Date(e.target.getAttribute("data-day"));
|
||||
console.dir(day);
|
||||
day.setDate(day.getDate() - 1);
|
||||
init_schedules(day);
|
||||
}
|
||||
const next_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
const day = new Date(e.target.getAttribute("data-day"));
|
||||
console.dir(day);
|
||||
day.setDate(day.getDate() + 1);
|
||||
init_schedules(day);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user