portable-secret
portable-secret copied to clipboard
[Feature] Press Enter/Return in the Textbox to Decrypt
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(); });
Thank you very much. I'll get to it eventually.
This PR addresses: https://github.com/mprimi/portable-secret/pull/31