1
0
Fork 0
Browse Source

Comment station links

master
clerie 2 years ago
parent
commit
a216984bb4
  1. 2
      js/reiseauskunft.js

2
js/reiseauskunft.js

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

Loading…
Cancel
Save