Add TODO note

This commit is contained in:
Adam Goldsmith 2018-07-12 21:06:40 -04:00
parent 00192d0320
commit 037190bb9d

View File

@ -65,6 +65,7 @@ function redrawTable() {
let nowDelta = new Date(new Date() - station.lastHeard); let nowDelta = new Date(new Date() - station.lastHeard);
let tr = table.appendChild(document.createElement('tr')); let tr = table.appendChild(document.createElement('tr'));
// TODO: should be set by same thing that sends alert
if (nowDelta.getTime() > timeoutLength) { if (nowDelta.getTime() > timeoutLength) {
tr.classList.add('timedOut'); tr.classList.add('timedOut');
} }