diff --git a/public/js/app.js b/public/js/app.js index 314c3c4..38bb322 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -884,4 +884,9 @@ buildCategoryFilter(); loadContributions(); // Show Welcome Modal on first Visit -checkWelcomeModal(); \ No newline at end of file +checkWelcomeModal(); + +// Submits Login with Key Press +document.getElementById('user-name-input').addEventListener('keydown', function (e) { + if (e.key === 'Enter') submitLogin(); +}); \ No newline at end of file