gather/tag_images.js: add image alt

This commit is contained in:
Astro 2022-12-26 02:26:22 +01:00
parent 484992b92b
commit 232a5adabd
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
}
currentImg = document.createElement("p");
currentImg.className = "image";
currentImg.alt = "Preview image from dubious source";
currentImg.style.backgroundImage = "url('" + currentImage + "')";
currentImg.style.left = oldImg ? "100%" : "0";
imageContainer.appendChild(currentImg);