diff --git a/.editorconfig b/.editorconfig index a6d02f2..fda955f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,6 +6,9 @@ indent_style = tab [*.html] indent_style = space indent_size = 2 +[*.js] +indent_style = space +indent_size = 2 [*.proto] indent_style = space indent_size = 2 diff --git a/static/js/main.js b/static/js/main.js index 79d7005..e36c763 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -66,7 +66,7 @@ for (const station of stations) { html: `
`, iconSize: [5, 5], }) - }).addTo(map) + }).addTo(map).bindPopup(station.name.replace(" Station", "")) } function clearMap() {