1
0

Comment station links

This commit is contained in:
clerie 2020-09-20 13:07:49 +02:00
parent 7df84bca5c
commit a216984bb4

View File

@ -266,6 +266,7 @@ var connection_result_observer = new MutationObserver((mutations) => {
} }
}); });
// Linking to station
var from = relation.querySelector("td.station"); var from = relation.querySelector("td.station");
var bahn_insight_field = domCreateBahnInsightField(); var bahn_insight_field = domCreateBahnInsightField();
from.appendChild(bahn_insight_field); from.appendChild(bahn_insight_field);
@ -276,6 +277,7 @@ var connection_result_observer = new MutationObserver((mutations) => {
var dbf_button = domCreateButtonDbf("/" + data[i]["from"]["station"]); var dbf_button = domCreateButtonDbf("/" + data[i]["from"]["station"]);
bahn_insight_field.appendChild(dbf_button); bahn_insight_field.appendChild(dbf_button);
// Linking to station
var to = relationend.querySelector("td.station"); var to = relationend.querySelector("td.station");
var bahn_insight_field = domCreateBahnInsightField(); var bahn_insight_field = domCreateBahnInsightField();
to.appendChild(bahn_insight_field); to.appendChild(bahn_insight_field);