Fix accessibility.

This commit is contained in:
BoHung Chiu 2022-11-04 16:04:51 +08:00
parent 4bf882a389
commit 3fec600cba
1 changed files with 1 additions and 0 deletions

View File

@ -436,6 +436,7 @@ window.GalleryTheater = function() {
img = $("<img class='gallery-image gal-active'>");
img.hide();
img.attr("src", currentPic.image.file.theater.url);
img.attr("alt", currentPic.image.alt_title);
imageContainer.append(img);
img.one("load", function() {
one_load(img)