@1ec5 commented on this pull request.
> + if (this._includeReportLink) {
+ const reportLink = document.createElement("a");
+ reportLink.href = "/fixthemap";
+ reportLink.target = "_blank";
+ reportLink.rel = "noopener noreferrer";
+ reportLink.className = "maplibregl-ctrl-attrib-report-link";
+ reportLink.textContent = OSM.i18n.t("javascripts.embed.report_problem");
+ attribHTML += reportLink.outerHTML + " | ";
+ }
It’s an edge case, but I guess we wouldn’t want people prematurely leaving
notes or whatever if the styles or tiles don’t load for some reason.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6804#discussion_r2797027349
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6804/review/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev