diff --git a/calendar/js/et2_widget_timegrid.ts b/calendar/js/et2_widget_timegrid.ts index 79bd34b20f..ee76d7c547 100644 --- a/calendar/js/et2_widget_timegrid.ts +++ b/calendar/js/et2_widget_timegrid.ts @@ -698,17 +698,14 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet { var old_value = this.options.disabled; this.disabled = disabled; - let style = window.getComputedStyle(this.div.get(0)); - if (style.display !== 'none' && style.display !== '') - { - this.div.get(0).classList.toggle("hideme", disabled); - } + + this.div.get(0).classList.toggle("hideme", disabled); if(disabled) { this.loader.show(); } - else if (old_value !== disabled) + else if(old_value !== disabled) { // Scroll to start of day - stops jumping in FF // For some reason on Chrome & FF this doesn't quite get the day start diff --git a/calendar/templates/mobile/view.xet b/calendar/templates/mobile/view.xet index 213c0a1fe5..daa706e038 100644 --- a/calendar/templates/mobile/view.xet +++ b/calendar/templates/mobile/view.xet @@ -23,7 +23,6 @@ Egroupware