mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
Use standard form submission so the go button on the keyboard works.
This commit is contained in:
parent
4390a36b6e
commit
64c23352f9
1 changed files with 3 additions and 3 deletions
|
@ -9,12 +9,12 @@
|
||||||
<script src="js/register.js"></script>
|
<script src="js/register.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="matrixRegistration.onLoad()">
|
<body onload="matrixRegistration.onLoad()">
|
||||||
<form id="registrationForm">
|
<form id="registrationForm" onsubmit="matrixRegistration.signUp(); return false;">
|
||||||
<div>
|
<div>
|
||||||
Create account:<br/>
|
Create account:<br/>
|
||||||
|
|
||||||
<div style="text-align: center">
|
<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/>
|
<br/>
|
||||||
<input id="pwd1" size="32" type="password" placeholder="Type a password"/>
|
<input id="pwd1" size="32" type="password" placeholder="Type a password"/>
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<br/>
|
<br/>
|
||||||
<div id="regcaptcha"></div>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue