mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Fix max contrast retrieval to limit minimum color for relative time
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
c08d2cbda7
commit
861daee4d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue