Avoid breaking error if calendar js is loaded twice

This commit is contained in:
nathan 2023-01-20 09:41:13 -07:00
parent 0e3725f99e
commit 864be8b1fe

View File

@ -113,4 +113,7 @@ export class CalendarOwner extends Et2Select
}
}
if(!customElements.get("et2-calendar-owner"))
{
customElements.define("et2-calendar-owner", CalendarOwner);
}