removing alt=av

This commit is contained in:
2026-06-01 10:20:30 +02:00
parent df3405ac9b
commit 412995ece6
2 changed files with 2 additions and 2 deletions

View File

@@ -2055,7 +2055,7 @@ class CommentSystem {
<div class="${commentClass} ${isDeleted ? 'deleted' : ''} ${isPinned ? 'pinned' : ''}" id="c${comment.id}"> <div class="${commentClass} ${isDeleted ? 'deleted' : ''} ${isPinned ? 'pinned' : ''}" id="c${comment.id}">
<div class="comment-avatar"> <div class="comment-avatar">
${comment.username ? `<a href="/user/${comment.username}">` : ''} ${comment.username ? `<a href="/user/${comment.username}">` : ''}
<img src="${comment.avatar_file ? `/a/${comment.avatar_file}` : (comment.avatar ? `/t/${comment.avatar}.webp` : '/a/default.png')}" alt="av"> <img src="${comment.avatar_file ? `/a/${comment.avatar_file}` : (comment.avatar ? `/t/${comment.avatar}.webp` : '/a/default.png')}">
${comment.username ? `</a>` : ''} ${comment.username ? `</a>` : ''}
</div> </div>
<div class="comment-body"> <div class="comment-body">

View File

@@ -7481,7 +7481,7 @@ class NotificationSystem {
<div class="comment" id="c${c.id}" style="margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 20px;"> <div class="comment" id="c${c.id}" style="margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 20px;">
<div class="comment-avatar"> <div class="comment-avatar">
<a href="/user/${c.username.toLowerCase()}"> <a href="/user/${c.username.toLowerCase()}">
<img src="${avatar}" alt="av"> <img src="${avatar}">
</a> </a>
</div> </div>
<div class="comment-body"> <div class="comment-body">