added user name submit with enter key
This commit is contained in:
@@ -885,3 +885,8 @@ loadContributions();
|
||||
|
||||
// Show Welcome Modal on first Visit
|
||||
checkWelcomeModal();
|
||||
|
||||
// Submits Login with Key Press
|
||||
document.getElementById('user-name-input').addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Enter') submitLogin();
|
||||
});
|
||||
Reference in New Issue
Block a user