@ -17,6 +17,8 @@ function onTrainData(data) {
title.appendChild(rankSpan)
title.appendChild(document.createTextNode(` ${data.number}`))
document.getElementsByTagName('title')[0].textContent = `Train ${data.rank} ${data.number}`
document.getElementById('company').textContent = data.operator
document.getElementById('date').textContent = data.date