Because the lightbox only works for cached images. If you open a uncached page: When you click on image you will see the spinner forever an the image isn't loading.
Now, after revert it's working just fine again.
Web console also generates an error:
Uncaught TypeError: URL constructor: is not a valid URL.
Xa index.ts:110
i index.ts:301
RxJS 7
12 [index.ts:110:6](https://vcmi.eu/assets/javascripts/src/templates/assets/javascripts/integrations/instant/index.ts)
Has to revert to older version (0.3.7): https://github.com/vcmi/VCMI.eu/pull/34
Because the lightbox only works for cached images. If you open a uncached page: When you click on image you will see the spinner forever an the image isn't loading.
Now, after revert it's working just fine again.
Web console also generates an error:
It seems
a href
url is unset.I'm not sure if this bug is coming from this library. Or from https://github.com/squidfunk/mkdocs-material by @squidfunk