Skip to content

Commit

Permalink
funding
Browse files Browse the repository at this point in the history
  • Loading branch information
strukturart committed Jul 8, 2024
1 parent 46dacb7 commit e01211e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [octocat, surftocat]
custom: ["https://www.paypal.me/strukturart"]
2 changes: 1 addition & 1 deletion application/assets/js/overpass.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']";
Expand Down
2 changes: 1 addition & 1 deletion application/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ document.addEventListener("DOMContentLoaded", function () {
.querySelector("div#overpass")
.insertAdjacentHTML(
"afterend",
'<div class="item" data-type="overpass" data-url="amenity=shelter,shelter_type!~public_transports">Shelter</div>'
'<div class="item" data-type="overpass" data-url="amenity=shelter,shelter_type!=public_transport">Shelter</div>'
);

find_gpx();
Expand Down

0 comments on commit e01211e

Please sign in to comment.