fix distance column when no location configured

This commit is contained in:
Matthias Wirth
2020-04-02 19:57:12 +02:00
parent 653e7c9cfc
commit 7d7c8e40ce

View File

@@ -4016,8 +4016,8 @@ function initSitePos() {
createSiteCircleFeatures();
} else {
SitePosition = null;
PlaneRowTemplate.cells[9].style.display = 'none'; // hide distance column
document.getElementById("distance").style.display = 'none'; // hide distance header
HideCols.push("#distance");
setColumnVisibility();
}
if (SitePosition && !onMobile) {