1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 00:27:44 +00:00

Merge pull request #462 from DantestyleXD/launcher

[Launcher] Press Enter after password and finally instant open client
This commit is contained in:
Mordred 2018-12-30 11:53:48 +01:00 committed by GitHub
commit 53738fb434

View file

@ -43,6 +43,14 @@
return data;
}
function keypressing(e) {
if (!e) e = window.event;
var keyCode = e.keyCode || e.which;
if (keyCode == '13'){
doLogin();
return false;
}
}
</script>
@ -79,7 +87,7 @@
<div class="input-control">
<label class="s-login-input-wrapper">
Password
<input type="password" name="password">
<input type="password" name="password" onkeypress="return keypressing(event)">
</label>
</div>
<button class="btn btn-default s-login-btn pull-right" id="submitButton" onclick="doLogin()">Login</button>