en.javascript.info/2-ui/2-events/04-default-browser-action/3-image-gallery/solution.md
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

171 B

The solution is to assign the handler to the container and track clicks. If a click is on the <a> link, then change src of #largeImg to the href of the thumbnail.