forked from extern/egroupware
Avoid breaking error if calendar js is loaded twice
This commit is contained in:
parent
0e3725f99e
commit
864be8b1fe
@ -113,4 +113,7 @@ export class CalendarOwner extends Et2Select
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("et2-calendar-owner", CalendarOwner);
|
||||
if(!customElements.get("et2-calendar-owner"))
|
||||
{
|
||||
customElements.define("et2-calendar-owner", CalendarOwner);
|
||||
}
|
Loading…
Reference in New Issue
Block a user