enable copy button again
This commit is contained in:
parent
9e228417b4
commit
4e040eece0
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ $(document).ready(function() {
|
|||
//disable button for 3s
|
||||
$copyBtn.attr('disabled', true)
|
||||
$copyBtn.html('Copied!');
|
||||
|
||||
window.setTimeout(()=>{
|
||||
$copyBtn.attr('disabled', false);
|
||||
$copyBtn.html('Copy');
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
// link back to home page
|
||||
|
|
Loading…
Reference in a new issue