Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Press Enter/Return in the Textbox to Decrypt #6

Open
Unkn0wnCreator opened this issue Dec 22, 2022 · 2 comments
Open

[Feature] Press Enter/Return in the Textbox to Decrypt #6

Unkn0wnCreator opened this issue Dec 22, 2022 · 2 comments

Comments

@Unkn0wnCreator
Copy link

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();
});

@mprimi
Copy link
Owner

mprimi commented Dec 22, 2022

Thank you very much. I'll get to it eventually.

@gamedevsam
Copy link

This PR addresses: #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants