<p></p>
<blockquote>
<blockquote>
<p dir="auto">You'll see notes up to the first one without visible comments, then the javascript code will fail.</p>
</blockquote>
<p dir="auto">When does this happen? Is it when the user who created or commented on the note has deleted the account?</p>
</blockquote>
<p dir="auto">That's the most likely scenario.</p>
<blockquote>
<p dir="auto">How can one create a note without a comment?</p>
</blockquote>
<p dir="auto">You can't: <a href="https://github.com/openstreetmap/openstreetmap-website/blob/c8f6d6df0f2d7ad15de4833e855701b05d1dde5e/app/controllers/api/notes_controller.rb#L91">https://github.com/openstreetmap/openstreetmap-website/blob/c8f6d6df0f2d7ad15de4833e855701b05d1dde5e/app/controllers/api/notes_controller.rb#L91</a></p>
<blockquote>
<p dir="auto">Or by "not visible comment" you mean a comment that was hidden by a moderator?</p>
</blockquote>
<p dir="auto">That didn't get merged too: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1117848044" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3438" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/3438/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/3438">#3438</a></p>
<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/issues/3996#issuecomment-1493335636">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJEVLGBSVFKWKLMQYLW7F6CPANCNFSM6AAAAAAWPYGO6Y">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLM4K6Z7FL4GDYO6HB3W7F6CPA5CNFSM6AAAAAAWPYGO62WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZAJ7FI.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/issues/3996/1493335636</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/issues/3996#issuecomment-1493335636",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3996#issuecomment-1493335636",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>