enable copy button again

This commit is contained in:
Daniela Arcese 2017-06-20 15:36:43 -04:00
parent 9e228417b4
commit 4e040eece0
1 changed files with 4 additions and 1 deletions

View File

@ -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