styles update

This commit is contained in:
JiriUhlir
2026-05-27 12:49:00 +02:00
parent 2b20444324
commit 8585690de0
3 changed files with 50 additions and 10 deletions
+11
View File
@@ -4,3 +4,14 @@ function copyValue(id) {
el.setSelectionRange(0, 99999);
navigator.clipboard.writeText(el.value);
}
function copyText(button) {
const value = button.dataset.copyValue || "";
navigator.clipboard.writeText(value);
const label = button.textContent;
button.textContent = "Copied";
window.setTimeout(() => {
button.textContent = label;
}, 1200);
}