<p dir="auto">Later there's a call to jquery.simulate to simulate a click on a changeset link inside the sidebar. The purpose of using the jquery.simulate is, I guess, to pass the modifier keys to the new event. If you do ctrl+click there should be a ctrl+click event that is later handled as <em>open in a new tab</em>. Except this doesn't work when clicking changeset bboxes because their events are neither dom nor jquery ones. We need to get the original event to simulate it correctly.</p>
<p dir="auto">After applying this fix, ctrl+clicks on bboxes should open changeset pages in new tabs.</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/3798'>https://github.com/openstreetmap/openstreetmap-website/pull/3798</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3798/commits/c3e6059222e2df0179963fee851862dd19fd705a" class="commit-link">c3e6059</a>  Pass original event instad of leaflet event to changeset bbox click simulation</li>
</ul>

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

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