mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
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