title with alt

This commit is contained in:
Ashley 2024-08-27 15:30:14 +00:00
parent 44aafaa0b7
commit 328c817136
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ async function onMessage(client, event) {
break;
}
media.src = await client.uploadMedia(file.url);
media.alt = file.desc;
media.alt = media.title = file.desc ?? "";
quote.appendChild(media);
}
document.body.appendChild(quote);