diff --git a/assets/js/sections/simplefle.js b/assets/js/sections/simplefle.js index c5836d63..b3a5f4a1 100644 --- a/assets/js/sections/simplefle.js +++ b/assets/js/sections/simplefle.js @@ -153,8 +153,8 @@ function handleInput() { } else if (item.match(/^CW$|^SSB$|^FM$|^AM$|^PSK$|^FT8$/i)) { mode = item.toUpperCase(); } else if ( - item.match(/^[1-9]?\d\d[Mm]$/) || - item.toUpperCase() === "70CM" + item.match(/^[0-9]{1,4}(?:m|cm|mm)$/) || + item.match(/^(sat)$/) ) { band = item.toUpperCase(); freq = 0; @@ -417,7 +417,7 @@ for (const [key, value] of Object.entries(Bands)) { - +
@@ -425,7 +425,7 @@ for (const [key, value] of Object.entries(Bands)) { -
+
@@ -433,9 +433,9 @@ for (const [key, value] of Object.entries(Bands)) { -
+
- + `; } @@ -453,14 +453,14 @@ $(".js-download-adif").click(function () { const adifHeader = ` ADIF export from Simple fast log entry by Petr, OK2CQR - + Internet: https://sfle.ok2cqr.com - + 2.2.1 SFLE 0.0.1 - + `; if (false === isBandModeEntered()) {