<p></p>
<p dir="auto">Looking into this a bit…</p>
<p dir="auto">In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4871/files#diff-8f18485b763264500054435af432745e2a51b4402140728dc4df89024768b71bL48">https://github.com/openstreetmap/openstreetmap-website/pull/4871/files#diff-8f18485b763264500054435af432745e2a51b4402140728dc4df89024768b71bL48</a> we take the ajax type from the event. But it looks like we expect a specific type, so maybe we should hard code it here?</p>
<p dir="auto">The other thing would be to make it explicit that the button is a submit button with "type=submit" which is what the Bootstrap docs use in their form example: <a href="https://getbootstrap.com/docs/5.3/forms/overview/#overview" rel="nofollow">https://getbootstrap.com/docs/5.3/forms/overview/#overview</a></p>
<p dir="auto">However, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button?retiredLocale=de#type" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button?retiredLocale=de#type</a> does not go into details on this. So maybe <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button?retiredLocale=de#formmethod" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button?retiredLocale=de#formmethod</a> is more what we need…</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/pull/4871#issuecomment-2146727816">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLOXI3FOS2SXWBT7ADZFVONZAVCNFSM6AAAAABIWIAF3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWG4ZDOOBRGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOKJJHBKA2C6UOMT6LZFVONZA5CNFSM6AAAAABIWIAF3OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT76R3YQ.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/4871/c2146727816</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/4871#issuecomment-2146727816",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4871#issuecomment-2146727816",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>