I have an odd bug that I can't seem to snuff out. I'm not sure if this forum can be used for diagnoses but I need help figuring out the cause.The site is using a custom theme that was installed by a previous developer no longer on the project. The current Magento CE version is 2.1.5 but the issue existed on 2.1.0.
If you click the link below, you'll see the product thumbnail does not update with the color. The color swatch is highlighted, if you click [Add to Cart] the correct color is added and if you refresh the page the thumbnail updates correctly. So, this is just the thumbnail not updating on the initial load. Also, if you click the second link below after clicking the first, the thumbnail will update correctly. So again, the problem is only with the initial load. I assume the issue is either with Fotorama or maybe JQuery in general but I can't seem to find it. Any insights or suggests would be greatly appreciated.
https://cover.world/4002s-7-oz-sun-dura.html#color=22
https://cover.world/4001s-7-oz-sun-dura.html#color=29
Thank you!