Default fallback colors for gridmap

This commit is contained in:
phl0
2025-12-10 12:22:30 +01:00
parent a3b0f9f727
commit 6d4bc10747

View File

@@ -1,7 +1,13 @@
var modalloading=false;
let confirmedColor = user_map_custom.qsoconfirm.color;
let workedColor = user_map_custom.qso.color;
let confirmedColor = 'rgba(144,238,144)';
if (typeof user_map_custom.qsoconfirm !== 'undefined') {
confirmedColor = user_map_custom.qsoconfirm.color;
}
let workedColor = 'rgba(255, 0, 0)';
if (typeof user_map_custom.qso !== 'undefined') {
workedColor = user_map_custom.qso.color;
}
document.addEventListener("DOMContentLoaded", function() {
document.querySelectorAll('.dropdown').forEach(dd => {