@mmd-osm commented on this pull request.


> -      document.body.appendChild(a);
-      a.click();
-      document.body.removeChild(a);
-      URL.revokeObjectURL(url);
-    }
-
-    async function handleExportSuccess(fetchResponse) {
-      try {
-        const blob = await fetchResponse.response.blob();
-        const filename = OSM.i18n.t("javascripts.share.filename");
-        downloadBlob(blob, filename);
-      } catch (err) {
-        // eslint-disable-next-line no-alert
-        alert(OSM.i18n.t("javascripts.share.export_failed", { reason: "(blob 
error)" }));
-      }
-    }
 

Somehow the comment here got lost...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6255#discussion_r2233856409
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6255/review/3059406...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to