|
|
@ -32,7 +32,7 @@ function onTrainData(data) { |
|
|
|
var delayString = '' |
|
|
|
var delayString = '' |
|
|
|
var delayMinutes = data.status.delay |
|
|
|
var delayMinutes = data.status.delay |
|
|
|
if (delayMinutes === 0) { |
|
|
|
if (delayMinutes === 0) { |
|
|
|
delayString = 'No delay' |
|
|
|
delayString = 'On time' |
|
|
|
statusDelay.appendChild(document.createTextNode(delayString)) |
|
|
|
statusDelay.appendChild(document.createTextNode(delayString)) |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|