From 953618bf06e47ec6965d5df5d7cf93743329435f Mon Sep 17 00:00:00 2001 From: Behrokh Satarnejad Date: Tue, 29 Oct 2024 15:15:48 +0100 Subject: [PATCH] add comment --- frontend/src/app/core/main-menu/main-menu-toggle.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/core/main-menu/main-menu-toggle.service.ts b/frontend/src/app/core/main-menu/main-menu-toggle.service.ts index 742fee7b3857..3b0b21b71294 100644 --- a/frontend/src/app/core/main-menu/main-menu-toggle.service.ts +++ b/frontend/src/app/core/main-menu/main-menu-toggle.service.ts @@ -167,6 +167,7 @@ export class MainMenuToggleService { this.global.showNavigation = this.showNavigation; this.htmlNode.style.setProperty('--main-menu-width', `${this.elementWidth}px`); + // Send change event when size of menu is changing (menu toggled or resized) const changeEvent = jQuery.Event('change'); this.changeData.next(changeEvent); }