mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
fixed terser error caused by not supported optional chaining operator (?.)
This commit is contained in:
parent
c3f4d130b6
commit
96e9f65b86
@ -5633,7 +5633,8 @@ app.classes.mail = AppJS.extend(
|
||||
}
|
||||
|
||||
// apply default font and -size before submitting to server for sending
|
||||
this.et2?.getWidgetById('mail_htmltext')?.applyDefaultFont();
|
||||
const htmlarea = this.et2 ? this.et2.getWidgetById('mail_htmltext') : null;
|
||||
if (htmlarea) htmlarea.applyDefaultFont();
|
||||
|
||||
return false;
|
||||
},
|
||||
@ -6504,4 +6505,4 @@ app.classes.mail = AppJS.extend(
|
||||
resizable: false,
|
||||
}, et2_dialog._create_parent('mail'));
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user