mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 19:53:24 -07:00
This "add" button is part of a form, which causes it to submit the form, because the default type for a button is "submit". This PR changes the type of the button to "button", which causes it to not submit the form and just execute its normal effect. (An alternative would be `event.preventDefault()` but that seems less clean to me, but also I'm not a HTML/JS dev)