Small code cleanups and fix translations

This commit is contained in:
djmaze 2021-01-27 00:26:31 +01:00
parent b31bf3d7f5
commit 7ccc44616d
54 changed files with 288 additions and 426 deletions

View file

@ -2,6 +2,7 @@ import ko from 'ko';
import { i18n } from 'Common/Translator';
import { pString } from 'Common/Utils';
import { doc } from 'Common/Globals';
import AccountStore from 'Stores/User/Account';
@ -360,7 +361,7 @@ class PgpUserStore {
verControl.addEventHandler('click', domControlSignedClickHelper(this, dom, domText));
}
dom.before(verControl, document.createElement('div'));
dom.before(verControl, doc.createElement('div'));
}
}
}