Hi, You could add this to the end of the secret-template file, within the script tag, to allow that. document.querySelector("#password").addEventListener("keyup", event => { if(event.key !== "Enter") return; decrypt() event.preventDefault(); });
Hi,
You could add this to the end of the secret-template file, within the script tag, to allow that.
document.querySelector("#password").addEventListener("keyup", event => {
if(event.key !== "Enter") return;
decrypt()
event.preventDefault();
});