Line 140: | Line 140: | ||
// Get the image and insert it inside the modal - use its "alt" text as a caption | // Get the image and insert it inside the modal - use its "alt" text as a caption | ||
− | var img = document.getElementsByClassName( | + | var img = document.getElementsByClassName("popUpImgClass"); |
var modalImg = document.getElementById("img01"); | var modalImg = document.getElementById("img01"); | ||
var captionText = document.getElementById("caption"); | var captionText = document.getElementById("caption"); |
Revision as of 20:36, 10 August 2018
×
×