diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 1a6481390e..55c7e325a5 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1542,7 +1542,7 @@ try { var maxContrastHex = window.getComputedStyle(document.documentElement) - .getPropertyValue('--color-text-maxcontrast') + .getPropertyValue('--color-text-maxcontrast').trim() var maxContrast = parseInt(maxContrastHex.substring(1, 3), 16) } catch(error) { var maxContrast = OCA.Accessibility