don't change emergency colors in dark mode

This commit is contained in:
Matthias Wirth
2021-05-03 20:13:26 +02:00
parent a9e12e6c75
commit 813587db38

View File

@@ -1821,7 +1821,7 @@ function initMap() {
tableColorsLight = tableColors;
tableColorsDark = JSON.parse(JSON.stringify(tableColors));
let darkVals = Object.values(tableColorsDark);
for (let i in darkVals) {
for (let i in ['selected', 'unselected']) {
let obj = darkVals[i];
let keys = Object.keys(obj)
for (let j in keys) {