MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / showErrorMessage

Function showErrorMessage

codeclash/viewer/static/js/clipboard.js:93–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 }
92
93 function showErrorMessage() {
94 if (button) {
95 const originalText = button.textContent;
96 const originalColor = button.style.color;
97 button.textContent = "✗ Failed";
98 button.style.color = "red";
99 setTimeout(() => {
100 button.textContent = originalText;
101 button.style.color = originalColor;
102 }, 1500);
103 }
104 }
105
106 try {
107 // Create a temporary link element to trigger download

Callers 1

downloadFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected