mailToHelper() use URLSearchParams

This commit is contained in:
the-djmaze 2022-03-08 10:05:24 +01:00
parent 4b8e77be5c
commit ffcd9990eb
2 changed files with 28 additions and 49 deletions

View file

@ -348,10 +348,7 @@ class AppUser extends AbstractApp {
);
} catch (e) {} // eslint-disable-line no-empty
}
setTimeout(() => {
value = SettingsGet('MailToEmail');
value && mailToHelper(value);
}, 500);
setTimeout(() => mailToHelper(SettingsGet('MailToEmail')), 500);
} else {
this.logout();
}