IE compat for new thumbnails

This commit is contained in:
Til 2026-05-08 08:16:10 +02:00
parent 9ab870e06f
commit ae7558cf37

View file

@ -6454,7 +6454,9 @@ var thegrid = (function () {
ihref += "&raster";
var accent = getComputedStyle(document.body).getPropertyValue('--a');
ihref += '&a=' + parseColor(accent).replaceAll(' ', '');
if (!accent)
accent = '#07c';
ihref += '&a=' + parseColor(accent).replace(/ /g, '');
html.push('<a href="' + ohref + '" ref="' + ref +
'" class="' + ac + '" ttt="' + esc(name) + '">' +