mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 05:41:26 -04:00
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:
@ -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);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user