diff options
author | David Baker <dave@matrix.org> | 2015-02-24 16:01:38 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-24 16:01:38 +0000 |
commit | 64c23352f901d1952818425495c4e72f504ce48a (patch) | |
tree | d00baaba3d3c2cb4a49ef7f0a19922805946ba1b /static/client/register/index.html | |
parent | Merge pull request #91 from matrix-org/registration-fallback-ios-display (diff) | |
download | synapse-64c23352f901d1952818425495c4e72f504ce48a.tar.xz |
Use standard form submission so the go button on the keyboard works.
Diffstat (limited to '')
-rw-r--r-- | static/client/register/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/client/register/index.html b/static/client/register/index.html index 8c2ed7fbdf..1650c97116 100644 --- a/static/client/register/index.html +++ b/static/client/register/index.html @@ -9,12 +9,12 @@ <script src="js/register.js"></script> </head> <body onload="matrixRegistration.onLoad()"> -<form id="registrationForm"> +<form id="registrationForm" onsubmit="matrixRegistration.signUp(); return false;"> <div> Create account:<br/> <div style="text-align: center"> - <input id="desired_user_id" size="32" type="text" placeholder="Matrix ID (e.g. bob)"/> + <input id="desired_user_id" size="32" type="text" placeholder="Matrix ID (e.g. bob)" autocapitalize="off" autocorrect="off" /> <br/> <input id="pwd1" size="32" type="password" placeholder="Type a password"/> <br/> @@ -24,7 +24,7 @@ <br/> <div id="regcaptcha"></div> - <button type="button" style="margin: 10px" onclick="matrixRegistration.signUp()">Sign up</button> + <button type="submit" style="margin: 10px">Sign up</button> </div> </div> </form> |