diff --git a/gui/preload-main.js b/gui/preload-main.js index cc2f23c0..30cf16ab 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -1646,12 +1646,20 @@ window.addEventListener("DOMContentLoaded", () => { }); }); -function resetSortIcon(){ +function resetSortIcon() { document.getElementById("hslSort").remove(); - let headers = document.querySelectorAll("#tblHeardStationList > thead > tr > th"); - if (hslLastSortDir=="desc") text = "" + headers[hslLastSort].innerText; - else text = "" + headers[hslLastSort].innerText; - headers[hslLastSort].innerHTML=text; + let headers = document.querySelectorAll( + "#tblHeardStationList > thead > tr > th" + ); + if (hslLastSortDir == "desc") + text = + '' + + headers[hslLastSort].innerText; + else + text = + '' + + headers[hslLastSort].innerText; + headers[hslLastSort].innerHTML = text; } function connectedStation(data) { diff --git a/gui/src/index.html b/gui/src/index.html index 479588d8..18b9adfb 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -1152,7 +1152,9 @@
Time | ++ Time + | Frequency | DXCall |
---|