diff options
Diffstat (limited to 'client/src/app/core/menu/menu.service.ts')
-rw-r--r-- | client/src/app/core/menu/menu.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/menu/menu.service.ts b/client/src/app/core/menu/menu.service.ts index 0b8d0191e..f0dc4fcaa 100644 --- a/client/src/app/core/menu/menu.service.ts +++ b/client/src/app/core/menu/menu.service.ts | |||
@@ -25,7 +25,7 @@ export type MenuSection = { | |||
25 | export class MenuService { | 25 | export class MenuService { |
26 | isMenuDisplayed = true | 26 | isMenuDisplayed = true |
27 | isMenuChangedByUser = false | 27 | isMenuChangedByUser = false |
28 | menuWidth = 240 // should be kept equal to $menu-width | 28 | menuWidth = 240 // should be kept equal to $menu-width |
29 | 29 | ||
30 | constructor ( | 30 | constructor ( |
31 | private screenService: ScreenService | 31 | private screenService: ScreenService |
@@ -55,7 +55,7 @@ export class MenuService { | |||
55 | // On touch screens, lock body scroll and display content overlay when memu is opened | 55 | // On touch screens, lock body scroll and display content overlay when memu is opened |
56 | if (this.isMenuDisplayed) { | 56 | if (this.isMenuDisplayed) { |
57 | document.body.classList.add('menu-open') | 57 | document.body.classList.add('menu-open') |
58 | this.screenService.onFingerSwipe('left', () => { this.setMenuDisplay(false) }) | 58 | this.screenService.onFingerSwipe('left', () => this.setMenuDisplay(false)) |
59 | return | 59 | return |
60 | } | 60 | } |
61 | 61 | ||