Skip to content

Commit 654387f

Browse files
Maintain copy button width
1 parent 7f27c1f commit 654387f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

layouts/shortcodes/email-request-form.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@
6565
});
6666

6767
function copyAndConfirm(btn, text) {
68-
navigator.clipboard.writeText(text).then(function() {
69-
var original = btn.textContent;
70-
btn.textContent = 'Copied!';
71-
setTimeout(function() { btn.textContent = original; }, 2000);
72-
});
68+
navigator.clipboard.writeText(text);
7369
}
7470

7571
document.getElementById('copy-subject-' + ord).addEventListener('click', function() {

0 commit comments

Comments
 (0)