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