forked from drowl87/hextra_mirror
chore: increase time for "copied" animation duration (#214)
* align-logo-footer add vertical align 2px for logo footer * modify logo align in footer * noobie things * modify logo & vertical align * build css * revert change in icons.yaml * increase duration for copied button effect * Update hugo_stats.json * Update main.css * Update footer.html * modify timeout to 1000 (1sec)
This commit is contained in:
parent
aad68d8afd
commit
35c733b7ee
@ -54,7 +54,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
button.classList.add('copied');
|
button.classList.add('copied');
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
button.classList.remove('copied');
|
button.classList.remove('copied');
|
||||||
}, 500);
|
}, 1000);
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
console.error('Failed to copy text: ', err);
|
console.error('Failed to copy text: ', err);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user