From 2ccee904da2a5250793ce839de8bbbf7737488b2 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Sat, 26 Oct 2019 11:48:24 -0600 Subject: [PATCH] Improve login/create account forms --- app/views/login/index.js | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/app/views/login/index.js b/app/views/login/index.js index 4a91c3e..f30ec85 100644 --- a/app/views/login/index.js +++ b/app/views/login/index.js @@ -48,6 +48,7 @@ export const loginView = (state, emit, i18n) => { controller.state.fieldValues.loginEmail = e.target.value.trim()} + onkeyup=${e => { if (e.key === 'Enter') controller.validateLogin() }} > ${ controller.state.loginError === '' ? null - : html`
${controller.state.loginError}
` + : html`
${controller.state.loginError}
` }