Skip to content

Commit

Permalink
TEMP: Add Bast's fix
Browse files Browse the repository at this point in the history
This is pulled directly from modmail-dev#82
  • Loading branch information
ChrisLovering committed Aug 12, 2024
1 parent 73209cb commit 7bdf473
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/logbase.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div class="info__guild-icon-container">
<img class="info__guild-icon hoverable"
src="{{ log_entry.recipient.avatar_url }}"
onerror="this.src='{{ log_entry.recipient.default_avatar_url }}'"
onerror="this.onerror=null;this.src='{{ log_entry.recipient.default_avatar_url }}'"
alt="avatar">
</div>
<div class="info__metadata">
Expand Down Expand Up @@ -81,7 +81,7 @@
<div class="chatlog__author-avatar-container">
<img class="chatlog__author-avatar"
src="{{ group.author.avatar_url }}"
onerror="this.src='{{ group.author.default_avatar_url }}'"
onerror="this.onerror=null;this.src='{{ group.author.default_avatar_url }}'"
alt="avatar"/>
</div>

Expand Down Expand Up @@ -242,4 +242,4 @@
$('.dropdown-trigger').dropdown({coverTrigger: false});
</script>
</body>
</html>
</html>

0 comments on commit 7bdf473

Please sign in to comment.