Merge pull request #118 from waku-org/js-rln-disable-button-while-dl

This commit is contained in:
fryorcraken.eth 2022-09-26 14:11:41 +10:00 committed by GitHub
commit efd0a47bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -63,7 +63,9 @@
const keyDiv = document.getElementById('key');
const commitmentDiv = document.getElementById('commitment');
generateCredsButton.disabled = true;
const rlnInstance = await create();
generateCredsButton.disabled = false;
let membership;
generateCredsButton.onclick = () => {