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