mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Use jassl lib
This commit is contained in:
parent
e451b2aaf9
commit
acd271974d
7 changed files with 601 additions and 39 deletions
|
|
@ -1280,7 +1280,7 @@ class AppUser extends AbstractApp
|
|||
kn.routeOn();
|
||||
}
|
||||
|
||||
if (window.jsloader && window.crypto && window.crypto.getRandomValues && Settings.capa(Enums.Capa.OpenPGP))
|
||||
if (window.jassl && window.crypto && window.crypto.getRandomValues && Settings.capa(Enums.Capa.OpenPGP))
|
||||
{
|
||||
const openpgpCallback = (openpgp) => {
|
||||
|
||||
|
|
@ -1312,7 +1312,7 @@ class AppUser extends AbstractApp
|
|||
}
|
||||
else
|
||||
{
|
||||
window.jsloader(Links.openPgpJs()).then(() => {
|
||||
window.jassl(Links.openPgpJs()).then(() => {
|
||||
if (window.openpgp)
|
||||
{
|
||||
openpgpCallback(window.openpgp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue