Skip to content

1.4.7

Compare
Choose a tag to compare
@ebellempire ebellempire released this 11 Dec 18:35
· 33 commits to master since this release

This recommended release updates the way that item images and scripts are loaded to improve reliability.

Previously, images were displayed as background-image for the figure and loaded via IntersectionObserver. Now they are loaded as normal img elements with loading="lazy", which should fix sporadic (and difficult-to-reproduce) reliability issues.

Also fixes a typo in items-show.js that impacted loading of PhotoSwipe image viewer.

Also fixes a longstanding bug where the items-show.js script was sometimes loading before the globals.js script, which should have been treated as a dependency. The items-show.js script is now loaded in a callback after globals.js has been loaded.