<p><a href="https://pbs.twimg.com/media/A84UcSTCQAI53x0.jpg:large" target="_blank"><img src="https://pbs.twimg.com/media/A84UcSTCQAI53x0.jpg:large" alt="Screenshot" style="max-width:100%;"></a></p>
<p>Fixes <a href="https://trac.openstreetmap.org/ticket/4680">https://trac.openstreetmap.org/ticket/4680</a></p>
<hr>
<h4>You can merge this Pull Request by running:</h4>
<pre> git pull https://github.com/jfirebaugh/openstreetmap-website browse_layer</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/172'>https://github.com/openstreetmap/openstreetmap-website/pull/172</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Move "Browse Map Data" to layers control</li>
<li>Use jQuery chaining</li>
<li>Avoid multiple click bindings on data layer</li>
</ul>
<h4>File Changes</h4>
<ul>
<li><strong>M</strong> app/assets/javascripts/index.js (1)</li>
<li><strong>M</strong> app/assets/javascripts/index/browse.js (468)</li>
<li><strong>M</strong> app/assets/javascripts/map.js.erb (1)</li>
<li><strong>M</strong> app/assets/javascripts/osm.js.erb (1)</li>
<li><strong>M</strong> app/assets/javascripts/sidebar.js (17)</li>
<li><strong>M</strong> app/views/site/index.html.erb (6)</li>
</ul>
<h4>Patch Links</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/172.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/172.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/172.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/172.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/172'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_lLfLNkQ7CKf6Ve3x1inS3_.gif' height='1' width='1'>