diff --git a/gui/preload-main.js b/gui/preload-main.js index a67846ce..cc2f23c0 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -1632,6 +1632,18 @@ window.addEventListener("DOMContentLoaded", () => { sorthslTable(5); resetSortIcon(); }); + document.getElementById("thType").addEventListener("click", () => { + if (hslLastSort == 6 && hslLastSortDir == "asc") hslLastSortDir = "desc"; + else hslLastSortDir = "asc"; + sorthslTable(6); + resetSortIcon(); + }); + document.getElementById("thSnr").addEventListener("click", () => { + if (hslLastSort == 7 && hslLastSortDir == "asc") hslLastSortDir = "desc"; + else hslLastSortDir = "asc"; + sorthslTable(7); + resetSortIcon(); + }); }); function resetSortIcon(){ diff --git a/gui/src/index.html b/gui/src/index.html index 8e42e8d3..479588d8 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -1152,14 +1152,14 @@
Time | +Time | Frequency | DXCall | DXGrid | Distance | -Type | -SNR (rx/dx) | +Type | +SNR (rx/dx) |
---|