aes.js: use alert box instead of window.alert for error

This commit is contained in:
dogeystamp 2022-12-31 22:12:42 -05:00
parent aa118c2c71
commit cfb9d4f59f
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -129,7 +129,7 @@ async function decrypt() {
ciphertext
);
} catch (e) {
window.alert("Decryption error: incorrect password?");
decPass.alertBox("alert-error", "Decryption error: incorrect password?");
}
let dec = new TextDecoder();