#260: replace Success! feedback text with a checkmark so buttons do not resize
This commit is contained in:
@@ -197,7 +197,7 @@ function finishCreate(data) {
|
||||
try {
|
||||
navigator.clipboard.writeText(url);
|
||||
copyBtn.classList.add('ok'); // in-place success feedback (#53)
|
||||
copyBtn.textContent = 'Success!';
|
||||
copyBtn.textContent = '✓';
|
||||
setTimeout(() => { copyBtn.classList.remove('ok'); copyBtn.textContent = '⧉'; }, 2000);
|
||||
} catch(e) { toast('Copy failed', 'error'); }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user