<p dir="auto">Yet another PR for click handling.<br>
This <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #6264.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3267473493" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6264" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6264/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6264">#6264</a> and probably solves <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3280873200" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6276" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6276/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6276">#6276</a> too, but due to the nature of that issue, I haven't been able to test that.<br>
In contrast to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3274545109" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6267" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/6267/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/6267">#6267</a>, this approach does not make assumptions about what modifiers do.</p>
<p dir="auto">It also doesn't make assumptions about the event type. Perhaps it should.</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/6281'>https://github.com/openstreetmap/openstreetmap-website/pull/6281</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/commits/bd226ea4ad016c3c53f16fd622a33f6d2a9833da" class="commit-link">bd226ea</a>  Replace links on map with new OSM.router.click() method</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/commits/88b48084a1091f7a72d8a38e4a7ab5ce46f74a4c" class="commit-link">88b4808</a>  Make map overlay clicks respect modifier keys</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files">5 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files#diff-dc12b10289b1608e5deb501050928dc5db8564cb2e09e01de68e949662123404">app/assets/javascripts/index/history-changesets-layer.js</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files#diff-ef1a25386d3acf1a86026dcc1edba5a3ec22fc64053d657cb1564b25129475c6">app/assets/javascripts/index/layers/data.js</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files#diff-8058f2f9c608b200098c52a855b78588f6b3aedce1b96c0fa57b706fa2d9e81c">app/assets/javascripts/index/layers/notes.js</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files#diff-8859067d4860f7b3d870155d8af8c81e89fd7c66cd2ebb58bd42cf31005c3c27">app/assets/javascripts/index/search.js</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6281/files#diff-3635093596ec53c4cebe7c2263939a5b01c8b9c71462506873f73af8429cabbc">app/assets/javascripts/router.js</a>
    (11)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6281.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6281.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6281.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6281.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/6281">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMFPXJHPXS73GBXXED3LQLUFAVCNFSM6AAAAACC6DGPZOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGI4DKNBYG42DSOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJEFQAQDAJHBSSYIFD3LQLUFA5CNFSM6AAAAACC6DGPZOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMHVEPRI.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/6281</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/6281",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6281",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>