mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Misc tweaks
This commit is contained in:
@@ -46,7 +46,10 @@
|
||||
<p><a href="#" onclick="hideInfo()">« 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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user