We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3b0f9f commit 6d4bc10Copy full SHA for 6d4bc10
assets/js/sections/gridmap.js
@@ -1,7 +1,13 @@
1
var modalloading=false;
2
3
-let confirmedColor = user_map_custom.qsoconfirm.color;
4
-let workedColor = user_map_custom.qso.color;
+let confirmedColor = 'rgba(144,238,144)';
+if (typeof user_map_custom.qsoconfirm !== 'undefined') {
5
+ confirmedColor = user_map_custom.qsoconfirm.color;
6
+}
7
+let workedColor = 'rgba(255, 0, 0)';
8
+if (typeof user_map_custom.qso !== 'undefined') {
9
+ workedColor = user_map_custom.qso.color;
10
11
12
document.addEventListener("DOMContentLoaded", function() {
13
document.querySelectorAll('.dropdown').forEach(dd => {
0 commit comments