login input focus, add member input width

This commit is contained in:
Martti Malmi 2020-05-19 08:55:14 +03:00
parent 59977adf25
commit ff4e20e07d
2 changed files with 3 additions and 1 deletions

View File

@ -297,7 +297,7 @@
<div id="profile-group-participants"></div>
<div id="profile-add-participant" style="display:none;">
<p>Add member:</p>
<p><input id="profile-add-participant-input" type="text" placeholder="New member's chat link"></p>
<p><input id="profile-add-participant-input" type="text" style="width: 220px" placeholder="New member's chat link"></p>
<p><small>Currently you need to add each member here. After that, they can join using the group link ("copy link" below). "Join links" upcoming!</small></p>
</div>
<hr>

View File

@ -614,6 +614,7 @@ function showSwitchAccount(e) {
resetView();
$('#create-account').hide();
$('#existing-account-login').show();
$('#paste-privkey').focus();
}
$('#show-create-account').click(showCreateAccount);
@ -623,6 +624,7 @@ function showCreateAccount(e) {
$('#create-account').show();
$('#existing-account-login').hide();
cleanupScanner();
$('#login-form-name').focus();
}
$('#existing-account-login input').on('input', (event) => {