This commit is contained in:
浪子 2024-09-28 23:25:27 +08:00 committed by GitHub
parent 5c3fd36980
commit b3c8ea001f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ window.onload = function() {
if (media_attachments.length > 0) {
media_attachments.forEach(attachment => {
if (attachment.type === 'image') {
mediaHTML += `<a href="${attachment.url}" target="_blank"><img src="${attachment.preview_url}" class="thumbnail-image img" no-view></a>`;
mediaHTML += `<a href="${attachment.url}" target="_blank"><img src="${attachment.preview_url}" class="thumbnail-image img" </a>`;
}
});
}
@ -44,7 +44,7 @@ window.onload = function() {
<article class='post--item post--item__status'>
<div class='content'>
<header>
<img src="${account.avatar}" class="avatar" width="48" height="48" />
<img src="${account.avatar}" class="avatar" width="48" height="48" no-view> />
<a class="humane--time" href="${url}" target="_blank">${new Date(created_at).toLocaleString()}</a>
</header>
<div class="description" itemprop="about">
@ -168,4 +168,4 @@ img {
}
</style>
</div>
<?php $this->need('footer.php'); ?>
<?php $this->need('footer.php'); ?>