adding update time very hastily to the top right
This commit is contained in:
1 parent
1a7c2c9a9c
commit
10c2b9ffca
4 files changed
+38
-21
No files matched your search
@@ -28,6 +28,12 @@ $(document).ready(function () {
|
||||
function updateStation(station, data) {
|
||||
updateDirections(station, data, "North");
|
||||
updateDirections(station, data, "South");
|
||||
updateTime(data["LastUpdated"])
|
||||
}
|
||||
|
||||
function updateTime(lastUpdated){
|
||||
console.log(lastUpdated)
|
||||
$("#last_updated").text(lastUpdated)
|
||||
}
|
||||
|
||||
function updateDirections(station, data, direction) {
|
||||
Reference in new issue
Block a user