diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 4487e15cc9..5a2e9a474e 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -1463,7 +1463,8 @@ export class CalendarApp extends EgwApp if(duration != null && end != null) { - end.set_disabled(duration.get_value()!==''); + end.set_disabled(duration.get_value() !== ''); + end.classList.toggle("hideme", end.disabled); // Only set end date if not provided, adding seconds fails with DST // @ts-ignore