diff --git a/dev/Stores/User/Pgp.js b/dev/Stores/User/Pgp.js index 952295536..89d4baddf 100644 --- a/dev/Stores/User/Pgp.js +++ b/dev/Stores/User/Pgp.js @@ -340,11 +340,11 @@ export const PgpUserStore = new class { */ initMessageBodyControls(dom, rainLoopMessage) { const cl = dom && dom.classList; - if (!cl.has('inited')) { + if (!cl.contains('inited')) { cl.add('inited'); - const encrypted = cl.has('encrypted'), - signed = cl.has('signed'), + const encrypted = cl.contains('encrypted'), + signed = cl.contains('signed'), recipients = rainLoopMessage ? rainLoopMessage.getEmails(['from', 'to', 'cc']) : []; let verControl = null;