From 78de02123eb128847e1519004bf5eac574e94369 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Mon, 25 May 2026 00:55:25 +0200 Subject: [PATCH] undo last commit, set bbox image fetch prio to high --- copyparty/web/baguettebox.js | 1 + copyparty/web/browser.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/web/baguettebox.js b/copyparty/web/baguettebox.js index 026514b0..ab825797 100644 --- a/copyparty/web/baguettebox.js +++ b/copyparty/web/baguettebox.js @@ -691,6 +691,7 @@ window.baguetteBox = (function () { for (var i = 0, fullImage; i < gallery.length; i++) { fullImage = mknod('div', 'baguette-img-' + i); fullImage.className = 'full-image'; + fullImage.fetchPriority = 'high'; imagesElements.push(fullImage); imagesFiguresIds.push('bbox-figure-' + i); diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index b552ad99..0151c3e3 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -4134,7 +4134,7 @@ html.e #wrap.thin .ghead { } /* prevent load of new thumbnails */ -#ggrid.waiting img { +#ggrid.waiting a:not(.thumbed) img { display: none; } @supports (display: grid) and (gap: 1em) {