wip
This commit is contained in:
parent
61b777b61c
commit
d27116c0dd
3 changed files with 8 additions and 12 deletions
|
|
@ -1025,12 +1025,11 @@ class ScheduleController {
|
|||
}
|
||||
|
||||
/**
|
||||
* Open the schedule drawer
|
||||
* Open the schedule drawer (no overlay - user can still interact with table)
|
||||
*/
|
||||
private openDrawer(): void {
|
||||
this.drawer?.classList.add('open');
|
||||
document.getElementById('drawerOverlay')?.classList.add('active');
|
||||
document.body.style.overflow = 'hidden';
|
||||
document.body.classList.add('schedule-drawer-open');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1038,7 +1037,6 @@ class ScheduleController {
|
|||
*/
|
||||
private closeDrawer(): void {
|
||||
this.drawer?.classList.remove('open');
|
||||
document.getElementById('drawerOverlay')?.classList.remove('active');
|
||||
document.body.style.overflow = '';
|
||||
document.body.classList.remove('schedule-drawer-open');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue