• Lupec@lemm.ee
    link
    fedilink
    arrow-up
    37
    ·
    edit-2
    8 months ago

    As a web developer of questionable frontend skills, it kinda looks like something you’d do as a band-aid solution if you had no idea how forms work or how to suppress their default events, which do happen to include the enter key being pressed. Really wild to go about it that route, whatever the intention was lol.

    Edit: While typing my other response down this comment thread, I realized for this to happen the developer must have actually suppressed the event correctly so it’s even weirder they chose to handle it like this