diff --git a/api/js/etemplate/Et2Email/Et2Email.ts b/api/js/etemplate/Et2Email/Et2Email.ts index 41226a1add..6bf618fafa 100644 --- a/api/js/etemplate/Et2Email/Et2Email.ts +++ b/api/js/etemplate/Et2Email/Et2Email.ts @@ -1261,11 +1261,12 @@ export class Et2Email extends Et2InputWidget(LitElement) implements SearchMixinI { const classes = option.class ? Object.fromEntries((option.class).split(" ").map(k => [k, true])) : {}; const value = (option.value).replaceAll(" ", "___"); + const isMobile = typeof egwIsMobile == "function" ? egwIsMobile() : false return html`