Skip to content

Commit

Permalink
Update chat.js sub/donate links
Browse files Browse the repository at this point in the history
The a tags follow the same template as the link to the profile in the 'banned' case now.
  • Loading branch information
KyrunaKJ authored Nov 24, 2024
1 parent 30bee5d commit 81ef48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ class Chat {
case 'muted': {
this.mutedtimer.setTimer(data.muteTimeLeft);
this.mutedtimer.startTimer();
const messageText = `You are temporarily muted! You can chat again ${this.mutedtimer.getReadableDuration()}. <a href="/subscribe">Subscribe</a>, or <a href="/donate">donate</a>, to remove the mute immediately.`;
const messageText = `You are temporarily muted! You can chat again ${this.mutedtimer.getReadableDuration()}. <a target="_blank" class="externallink" href="/subscribe" rel="nofollow">Subscribe</a>, or <a target="_blank" class="externallink" href="/donate" rel="nofollow">donate</a>, to remove the mute immediately.`;

message = new ChatMessage(messageText, null, MessageTypes.ERROR, true);
break;
Expand Down

0 comments on commit 81ef48e

Please sign in to comment.