diff --git a/webassets/js/spots.js b/webassets/js/spots.js
index 4c5dabb..9b20feb 100644
--- a/webassets/js/spots.js
+++ b/webassets/js/spots.js
@@ -38,7 +38,7 @@ function updateTable() {
var showMode = $("#tableShowMode")[0].checked;
var showComment = $("#tableShowComment")[0].checked;
var showBearing = $("#tableShowBearing")[0].checked && userPos != null;
- var showSource = $("#tableShowSource")[0].checked;
+ var showType = $("#tableShowType")[0].checked;
var showRef = $("#tableShowRef")[0].checked;
var showDE = $("#tableShowDE")[0].checked;
@@ -62,8 +62,8 @@ function updateTable() {
if (showBearing) {
table.find('thead tr').append(`
Bearing
`);
}
- if (showSource) {
- table.find('thead tr').append(`
Source
`);
+ if (showType) {
+ table.find('thead tr').append(`
Type
`);
}
if (showRef) {
table.find('thead tr').append(`
Ref.
`);
@@ -140,10 +140,10 @@ function updateTable() {
}
}
- // Sig or fallback to source
- var sigSourceText = s["source"];
+ // Format "type" (Sig or fallback to source)
+ var typeText = s["source"];
if (s["sig"]) {
- sigSourceText = s["sig"];
+ typeText = s["sig"];
}
// Format sig_refs
@@ -205,8 +205,8 @@ function updateTable() {
if (showBearing) {
$tr.append(`
${bearingText}
`);
}
- if (showSource) {
- $tr.append(`
${sigSourceText}
`);
+ if (showType) {
+ $tr.append(`
${typeText}
`);
}
if (showRef) {
$tr.append(`
${sig_refs}
`);
@@ -216,14 +216,14 @@ function updateTable() {
}
table.find('tbody').append($tr);
- // Second row for mobile view only, containing source, ref & comment
+ // Second row for mobile view only, containing type, ref & comment
$tr2 = $("