styles update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user