d
This commit is contained in:
parent
1e2a92946b
commit
a41e619527
@ -640,7 +640,7 @@
|
||||
|
||||
const previous_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
const day = Date.parse(e.target.getAttribute("data-day"));
|
||||
const day = Date.parse(e.target.parent.getAttribute("data-day"));
|
||||
console.dir(day);
|
||||
day.setDate(day.getDate() - 1);
|
||||
init_schedules(day);
|
||||
@ -648,7 +648,7 @@
|
||||
const next_day_schedule = (e) => {
|
||||
e.preventDefault();
|
||||
console.dir(e.target);
|
||||
const day = Date.parse(e.target.getAttribute("data-day"));
|
||||
const day = Date.parse(e.target.parent.getAttribute("data-day"));
|
||||
console.dir(day);
|
||||
day.setDate(day.getDate() + 1);
|
||||
init_schedules(day);
|
||||
|
Loading…
Reference in New Issue
Block a user