<p dir="auto">SVG anchors don't have the URL properties, which forces a page reload. This can be avoided by getting the properties from the href.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6260'>https://github.com/openstreetmap/openstreetmap-website/pull/6260</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6260/commits/4f52951d2310a4c216466705d955d9ef571b56bc" class="commit-link">4f52951</a>  Make handler able to handle SVG links</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6260/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6260/files#diff-cdc070ced1c4000efd1e28357fd26b2fd617d7fccfeae0324222231db75dd6ee">app/assets/javascripts/index.js</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6260.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6260.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6260.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6260.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6260">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMRLGEN76WVMDANU5D3KTMRDAVCNFSM6AAAAACCO4S32GVHI2DSMVQWIX3LMV43ASLTON2WKOZTGI3DOMJUGAYDAMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLB7KVVOTXFMQ3VSPT3KTMRDA5CNFSM6AAAAACCO4S32GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMFPEZUE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6260</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6260",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6260",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>