More data for mobile layout and extra defensive coding

This commit is contained in:
Ian Renton
2025-10-13 18:27:32 +01:00
parent 329fa7755d
commit 8582dfdc75
2 changed files with 5 additions and 3 deletions

View File

@@ -225,13 +225,13 @@ function updateTable() {
}
$td2 = $("<td colspan='100'>");
if (showSource) {
$td2.append(`<span class='icon-wrapper'><i class='fa-solid fa-${s["icon"]}'></i></span> `);
$td2.append(`<span class='icon-wrapper'><i class='fa-solid fa-${s["icon"]}'></i></span> ${sigSourceText} `);
}
if (showRef) {
$td2.append(`${sig_refs} `);
}
if (showBearing) {
$td2.append(`${bearingText} `);
$td2.append(` &nbsp; Bearing: ${bearingText} `);
}
if (showComment) {
$td2.append(`<br/>${commentText}`);