diff --git a/calendar/js/et2_widget_timegrid.ts b/calendar/js/et2_widget_timegrid.ts index a8bad17e2f..9c8435cf2a 100644 --- a/calendar/js/et2_widget_timegrid.ts +++ b/calendar/js/et2_widget_timegrid.ts @@ -984,7 +984,8 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet { // Hidden on another tab, or no days for some reason var dim = egw.getHiddenDimensions(this.days, false); - day_width = ( dim.w /Math.max(daycols_needed,1)); + day_width = (dim.w / Math.max(daycols_needed, 1)); + this.div.get(0).style.display = ""; } // Create any needed widgets - otherwise, we'll just recycle