<p></p>
<p>As I thought this is down to how <a href="https://github.com/domoritz/leaflet-locatecontrol">leaflet-locatecontrol</a> works - specifically it is that control, not us, that does the substitution.</p>
<p>That was recently changed by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="542680068" data-permission-text="Title is private" data-url="https://github.com/domoritz/leaflet-locatecontrol/issues/258" data-hovercard-type="pull_request" data-hovercard-url="/domoritz/leaflet-locatecontrol/pull/258/hovercard" href="https://github.com/domoritz/leaflet-locatecontrol/pull/258">domoritz/leaflet-locatecontrol#258</a> to support a callback function but for some reason the corresponding PR on our end (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="541934653" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2475" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2475/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2475">#2475</a>) doesn't actually use it despite being referenced.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2564#issuecomment-601725964">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMWVMKR5VTFITDCU6DRIN32HANCNFSM4LQMY3FQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLOZCKNR5BXKX375PY3RIN32HA5CNFSM4LQMY3F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEPOZYDA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2564#issuecomment-601725964",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2564#issuecomment-601725964",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>