<p dir="auto">Fixes this:</p>
<ol dir="auto">
<li>use "query features" tool to get nearby/enclosing features lists in the sidebar</li>
<li>type some search query in search box above the sidebar but don't press enter yet</li>
<li>hover the pointer over one of nearby/enclosing features list items to see it appear on the map</li>
<li>press enter to run the search</li>
<li>notice that the hovered feature stays on the map</li>
</ol>
<p dir="auto">Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="389778459" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2082" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2082/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2082">#2082</a>.</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/3780'>https://github.com/openstreetmap/openstreetmap-website/pull/3780</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3780/commits/ba888f5c7d5ae453e27973e1e57f3c6e0e4f3711" class="commit-link">ba888f5</a>  Remove query result geometry when unloading the page</li>
</ul>

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

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