From 03abefccd770bd663c1b79043c3c10175fe8c662 Mon Sep 17 00:00:00 2001 From: phl0 Date: Sun, 14 Apr 2024 09:24:09 +0200 Subject: [PATCH] Set band to SAT if a satellite is selected --- assets/js/sections/dxccmap.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/js/sections/dxccmap.js b/assets/js/sections/dxccmap.js index 4bdcad346..d7615ebcd 100644 --- a/assets/js/sections/dxccmap.js +++ b/assets/js/sections/dxccmap.js @@ -13,6 +13,13 @@ $('#band2').change(function(){ } }); +$('#sats').change(function(){ + var sat = $("#sats option:selected").text(); + $("#band2").val('SAT'); + if (sat != "All") { + } +}); + function load_dxcc_map() { $('.nav-tabs a[href="#dxccmaptab"]').tab('show'); $.ajax({