fixed login issue

This commit is contained in:
Marc Wäckerlin
2017-03-15 15:54:39 +00:00
parent 18a92c7f40
commit 1a74fde03d

View File

@@ -47,7 +47,7 @@
<div id="login"> <div id="login">
<h1>Login</h1> <h1>Login</h1>
<form onsubmit="connect()"> <form onsubmit="connect(); return false">
<div class="row"> <div class="row">
<label for="usernamefield">User Name: </label> <label for="usernamefield">User Name: </label>
<input placeholder="User Name" id="usernamefield" type="text" /> <input placeholder="User Name" id="usernamefield" type="text" />
@@ -57,7 +57,7 @@
<input placeholder="Password" id="passwordfield" type="password" /> <input placeholder="Password" id="passwordfield" type="password" />
</div> </div>
<div class="row"> <div class="row">
<input type="submit" onclick="connect()" value="Login" /> <input type="submit" value="Login" />
</div> </div>
</form> </form>
</div> </div>