if (parseInt(selected) == parseInt(1))

Never change, Previous Developer.

@Austin_Dern
...

...

... Aha, that is the kind of code we should train LLMs on so I can spot it right away and reject the pull request.

@mortonfox Eh, this is harmless at least.

Now, the Previous Developer apparently having no idea that 'switch' is a way to direct control flow, _that's_ something we need to squash.