Skip to content

Commit 76492ad

Browse files
committed
Simplify code
1 parent 01bd8c6 commit 76492ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

assets/js/sections/dxccmap.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
let confirmedColor = user_map_custom.qsoconfirm.color;
22
let workedColor = user_map_custom.qso.color;
3-
let unworkedColor = '';
3+
let unworkedColor = 'red';
44
if (typeof(user_map_custom.unworked) !== 'undefined') {
55
unworkedColor = user_map_custom.unworked.color;
6-
} else {
7-
unworkedColor = 'red';
86
}
97

108
document.addEventListener("DOMContentLoaded", function() {

0 commit comments

Comments
 (0)