<p dir="auto">Fixes javascript errors when the note layer is enabled and there's a note without comments.</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/3617'>https://github.com/openstreetmap/openstreetmap-website/pull/3617</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3617/commits/9b3bdf9504d7426889a1946aee502616bebcae76" class="commit-link">9b3bdf9</a> Don't add title to note marker if note has no visible comments</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3617/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3617/files#diff-e4092564909c145954f4906d5b26422ebbbf4b559c38a863009e86fc6ed95c71">app/assets/javascripts/index/notes.js</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3617/files#diff-43c6cbf1d8474dfd3889f066ee578a693a1b3ca863f407b07663e0f59102b4ed">test/system/site_test.rb</a>
(24)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3617.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3617.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3617.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3617.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/3617">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLISJDRDBWKPXY7HAQ3VVQ3R3ANCNFSM54OMDCFQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIPSSHBWNLXIO7FLWDVVQ3R3A5CNFSM54OMDCF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TTMJYHQ.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/3617</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/3617",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3617",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>