Use less jQuery, more native

This commit is contained in:
djmaze 2020-08-27 15:45:47 +02:00
parent 24cb874c87
commit bdb36ec128
35 changed files with 492 additions and 779 deletions

View file

@ -13,7 +13,6 @@ import {
import {
isNonEmptyArray,
clearBqSwitcher,
replySubjectAdd,
encodeHtml,
inFocus,
@ -855,13 +854,7 @@ class ComposePopupView extends AbstractViewNext {
sDate = momentorFormat(message.dateTimeStampInUTC(), 'FULL');
sSubject = message.subject();
aDraftInfo = message.aDraftInfo;
const clonedText = jQuery(message.body).clone();
if (clonedText) {
clearBqSwitcher(clonedText);
sText = clonedText.html();
}
sText = message.bodyAsHTML();
let resplyAllParts = null;
switch (lineComposeType) {