diff --git a/scripts/aes.js b/scripts/aes.js index d2b83ce..903e859 100644 --- a/scripts/aes.js +++ b/scripts/aes.js @@ -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();