Misc tweaks

This commit is contained in:
Ian Renton
2025-09-30 22:18:02 +01:00
parent 6749a97f99
commit 9e495a3fae
4 changed files with 14 additions and 3 deletions

View File

@@ -46,7 +46,10 @@
<p><a href="#" onclick="hideInfo()">&laquo; Back to the spots table</a></p>
</div>
<div id="table-container"></div>
<div id="table-container">
<p>Latest spots as of XXXX. Updating in XXX seconds...</p>
<div id="table-container-inner"></div>
</div>
</main>
</div>

View File

@@ -17,7 +17,7 @@ $.getJSON('/api/spots', function(jsonData) {
table.find('tbody').append($tr);
});
$('#table-container').html(table);
$('#table-container-inner').html(table);
});
function escapeHtml(str) {