set fetch priority for thumbnails to low instead

This commit is contained in:
Til Schmitter 2026-05-25 00:59:15 +02:00
parent 78de02123e
commit befdc06a42
2 changed files with 1 additions and 2 deletions

View file

@ -691,7 +691,6 @@ 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);

View file

@ -6602,7 +6602,7 @@ window.thegrid = (function () {
(isdir || ext == 'unk' || ext.startsWith('/') ? '' :
'<span class="th_ext" style="font-size: ' + (r.sz / 5) +'em; font-size:calc((var(--grid-sz) - 2.5em) / 3 * ' +
(ext.length > 3 ? 1 / (3 + ext.length * .4) * 3 : 1) + ')"><span class="inner">' + ext + '</span></span>') +
'<img loading="lazy" onload="th_onload(this)" src="' +
'<img loading="lazy" fetchPriority="low" onload="th_onload(this)" src="' +
ihref + '" /></div><span class="' + ac + '">' + ao.innerHTML + '</span></a>');
}
ggrid.innerHTML = html.join('\n');