diff --git a/api/js/egw_action/EgwMenuShoelace.ts b/api/js/egw_action/EgwMenuShoelace.ts index 660e6d5f2f..be69b9d60a 100644 --- a/api/js/egw_action/EgwMenuShoelace.ts +++ b/api/js/egw_action/EgwMenuShoelace.ts @@ -137,8 +137,8 @@ export class EgwMenuShoelace extends LitElement handleSelect(event) { - // If not open or from a sub-menu, skip - if(!this.popup || event.target !== this.menu) + // If not open, skip + if(!this.popup) { return; }