We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bf685 commit c044ec0Copy full SHA for c044ec0
1 file changed
app/assets/javascripts/index/export.js
@@ -103,7 +103,8 @@ OSM.Export = function (map) {
103
.addEventListener("turbo:before-fetch-request", function (event) {
104
event.detail.fetchOptions.headers.Accept = "application/xml";
105
});
106
- $("#export_overpass").on("click", async function (event) {event.preventDefault();
+ $("#export_overpass").on("click", async function (event) {
107
+ event.preventDefault();
108
const downloadUrl = $(this).attr("href");
109
const confirmed = await showConfirmationModal();
110
if (confirmed) {
0 commit comments