aes.js: use alert box instead of window.alert for error
This commit is contained in:
parent
aa118c2c71
commit
cfb9d4f59f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user