gather/tag_images.js: add image alt
This commit is contained in:
parent
484992b92b
commit
232a5adabd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue