Skip to content

Commit b7c3185

Browse files
committed
Fix typos in copied constants
1 parent 68162d2 commit b7c3185

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -574,12 +574,12 @@ class SQLMapGenerator {
574574
const copyBtn = document.getElementById('copyBtn');
575575
const copyText = document.getElementById('copyText');
576576
const txt_command_copy_clipboard = 'COPY COMMAND TO CLIPBOARD';
577-
const txt_command_copy_coppied = 'COMMAND COPIED!';
577+
const txt_command_copy_copied = 'COMMAND COPIED!';
578578

579579
try {
580580
await navigator.clipboard.writeText(command);
581581
copyBtn.classList.add('copying');
582-
copyText.textContent = txt_command_copy_coppied;
582+
copyText.textContent = txt_command_copy_copied;
583583

584584
setTimeout(() => {
585585
copyBtn.classList.remove('copying');
@@ -594,7 +594,7 @@ class SQLMapGenerator {
594594
document.execCommand('copy');
595595
document.body.removeChild(textArea);
596596

597-
copyText.textContent = txt_command_copy_coppied;
597+
copyText.textContent = txt_command_copy_copied;
598598
setTimeout(() => {
599599
copyText.textContent = txt_command_copy_clipboard;
600600
}, 3000);
@@ -607,12 +607,12 @@ class SQLMapGenerator {
607607
const copyUrlBtn = document.getElementById('copyUrlBtn');
608608
const copyUrlText = document.getElementById('copyUrlText');
609609
const txt_command_url_clipboard = 'COPY CONFIG URL';
610-
const txt_command_url_coppied = 'URL COPIED!';
610+
const txt_command_url_copied = 'URL COPIED!';
611611

612612
try {
613613
await navigator.clipboard.writeText(command);
614614
copyUrlBtn.classList.add('copying');
615-
copyUrlText.textContent = txt_command_url_coppied;
615+
copyUrlText.textContent = txt_command_url_copied;
616616

617617
setTimeout(() => {
618618
copyUrlBtn.classList.remove('copying');
@@ -629,7 +629,7 @@ class SQLMapGenerator {
629629
document.execCommand('copy');
630630
document.body.removeChild(textArea);
631631

632-
copyUrlText.textContent = txt_command_url_coppied;
632+
copyUrlText.textContent = txt_command_url_copied;
633633
setTimeout(() => {
634634
copyUrlText.textContent = txt_command_url_clipboard;
635635
}, 3000);

0 commit comments

Comments
 (0)