Disable button for a longer time
This commit is contained in:
parent
8e10778d8e
commit
174655a07c
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ function submitSignup() {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
submitBtn.disabled = false;
|
submitBtn.disabled = false;
|
||||||
submitBtn.innerHTML = 'Sign Up';
|
submitBtn.innerHTML = 'Sign Up';
|
||||||
}, 5000);
|
}, 10000);
|
||||||
sleep(5000).then(() => { submitBtn.disabled = false; });
|
sleep(10000).then(() => { submitBtn.disabled = false; });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue