aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/menu/menu.component.ts')
-rw-r--r--client/src/app/menu/menu.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts
index 50ff0e2b3..ed20d9c01 100644
--- a/client/src/app/menu/menu.component.ts
+++ b/client/src/app/menu/menu.component.ts
@@ -228,7 +228,7 @@ export class MenuComponent implements OnInit {
228 228
229 // Close dropdown when window scroll to avoid dropdown quick jump for re-position 229 // Close dropdown when window scroll to avoid dropdown quick jump for re-position
230 const onWindowScroll = () => { 230 const onWindowScroll = () => {
231 this.dropdown.close() 231 this.dropdown?.close()
232 window.removeEventListener('scroll', onWindowScroll) 232 window.removeEventListener('scroll', onWindowScroll)
233 } 233 }
234 234