<p>Previously the page was reloaded, resulting in the same closed sidebar. This is obviously faster though.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/DieBuche/openstreetmap-website Sidebar-click-fix</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/257'>https://github.com/openstreetmap/openstreetmap-website/pull/257</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Also close sidebar when clicking on "View".</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/257/files#diff-0">app/assets/javascripts/sidebar.js</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/257.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/257.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/257.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/257.diff</a></li>
</ul>