mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-02-14 09:43:59 -05:00
Copied message in bold
This commit is contained in:
@@ -13,7 +13,7 @@ async function handleCopy(event) {
|
|||||||
// 4. Update the UI to show it worked
|
// 4. Update the UI to show it worked
|
||||||
const link = event.target;
|
const link = event.target;
|
||||||
const originalText = link.innerText;
|
const originalText = link.innerText;
|
||||||
link.innerText = "Copied!";
|
link.innerHTML = "<b>Copied!</b>";
|
||||||
link.style.color = "#4CAF50"; // Turn green
|
link.style.color = "#4CAF50"; // Turn green
|
||||||
|
|
||||||
// 5. Reset after 2 seconds
|
// 5. Reset after 2 seconds
|
||||||
|
|||||||
Reference in New Issue
Block a user