Fix using enter to submit on android (bug 1104105)

This prevent us causing the focus to disapper when using enter to submit in Android.
Ah ok cool. That's a legacy of my past - likely from when XHTML was a thing. I'll update it :)