diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..883b1ca9 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: [octocat, surftocat] +custom: ["https://www.paypal.me/strukturart"] diff --git a/application/assets/js/overpass.js b/application/assets/js/overpass.js index 84a9e944..ee5be397 100644 --- a/application/assets/js/overpass.js +++ b/application/assets/js/overpass.js @@ -41,7 +41,7 @@ const overpass = (() => { node_query = `[${part1}][${part2}]`; } - if (overpassQuery.indexOf("public_transport") > -1) { + if (overpassQuery == "public_transport") { node_query = "['public_transport'='stop_position']['bus'='yes']"; relation_query = "['type'='route']['route'='bus']"; way_query = "['public_transport'='stop_platform']['bus'='yes']"; diff --git a/application/index.js b/application/index.js index f1039e25..0e2cd4ee 100644 --- a/application/index.js +++ b/application/index.js @@ -424,7 +424,7 @@ document.addEventListener("DOMContentLoaded", function () { .querySelector("div#overpass") .insertAdjacentHTML( "afterend", - '