mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -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";
|
||||
|
||||
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) + '">' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue