mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Fix commit df1a099078
broke calendar in some browsers
This commit is contained in:
parent
425178e06c
commit
3fc21a6434
@ -698,8 +698,8 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet
|
|||||||
{
|
{
|
||||||
var old_value = this.options.disabled;
|
var old_value = this.options.disabled;
|
||||||
this.disabled = disabled;
|
this.disabled = disabled;
|
||||||
|
let style = window.getComputedStyle(this.div.get(0));
|
||||||
if (this.div.get(0).checkVisibility())
|
if (style.display !== 'none' && style.display !== '')
|
||||||
{
|
{
|
||||||
this.div.get(0).classList.toggle("hideme", disabled);
|
this.div.get(0).classList.toggle("hideme", disabled);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user