mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -06:00
IE compat for new thumbnails
This commit is contained in:
parent
9ab870e06f
commit
ae7558cf37
|
|
@ -6454,7 +6454,9 @@ var thegrid = (function () {
|
||||||
ihref += "&raster";
|
ihref += "&raster";
|
||||||
|
|
||||||
var accent = getComputedStyle(document.body).getPropertyValue('--a');
|
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 +
|
html.push('<a href="' + ohref + '" ref="' + ref +
|
||||||
'" class="' + ac + '" ttt="' + esc(name) + '">' +
|
'" class="' + ac + '" ttt="' + esc(name) + '">' +
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue