Skip to content

Commit

Permalink
v1.5.11
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
Spl0itable committed Sep 5, 2024
1 parent 669cbdc commit cab8935
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ document.addEventListener("DOMContentLoaded", () => {
if (relayResult.success) {
relaySuccess = true;
const eventLink = `https://njump.me/${replyEventId}`;
showReplyNote(`Reply sent successfully via relay hop! <a href="${eventLink}" target="_blank">View Event</a>`, 'success', replyStatusNote);
showReplyNote(`Anon reply sent successfully via relay hop! <a href="${eventLink}" target="_blank">View Event</a>`, 'success', replyStatusNote);
timelineItem.querySelector('.reply-textarea').value = '';

// Store the content hash with the current timestamp to prevent duplicate submissions
Expand Down Expand Up @@ -1137,7 +1137,7 @@ document.addEventListener("DOMContentLoaded", () => {
showReplyNote('No relays available. Please try again later.', 'error', replyStatusNote);
} else {
const eventLink = `https://njump.me/${replyEventId}`;
showReplyNote(`Reply sent successfully via ${successfulRelays}/${selectedRelays.length} relays! <a href="${eventLink}" target="_blank">View Event</a>`, 'success', replyStatusNote);
showReplyNote(`Anon reply sent successfully via ${successfulRelays}/${selectedRelays.length} relays! <a href="${eventLink}" target="_blank">View Event</a>`, 'success', replyStatusNote);
timelineItem.querySelector('.reply-textarea').value = '';

// Store the content hash with the current timestamp to prevent duplicate submissions
Expand All @@ -1151,7 +1151,7 @@ document.addEventListener("DOMContentLoaded", () => {
}
} catch (error) {
console.error('Failed to send reply:', error);
showReplyNote('Failed to send reply. Please try again.', 'error', replyStatusNote);
showReplyNote('Failed to send anon reply. Please try again.', 'error', replyStatusNote);
} finally {
resetReplyFormState(spinner, sendReplyButton);
}
Expand Down

0 comments on commit cab8935

Please sign in to comment.