From 6ee51c94c5f8fe4eb0b340bf077215b4721b27eb Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Thu, 22 Mar 2018 15:17:31 +0900 Subject: [PATCH] refs #81 Guard submitting with enter in login and authorize --- src/renderer/components/Authorize.vue | 10 +++++++++- src/renderer/components/Login/LoginForm.vue | 12 ++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/Authorize.vue b/src/renderer/components/Authorize.vue index 21da426f..f182adc0 100644 --- a/src/renderer/components/Authorize.vue +++ b/src/renderer/components/Authorize.vue @@ -9,8 +9,12 @@ + + - Submit + Submit @@ -77,5 +81,9 @@ html, body, #app, #authorize { color: #ffffff; border: 0; } + + .hidden { + display: none; + } } diff --git a/src/renderer/components/Login/LoginForm.vue b/src/renderer/components/Login/LoginForm.vue index 91fba837..6aeaa027 100644 --- a/src/renderer/components/Login/LoginForm.vue +++ b/src/renderer/components/Login/LoginForm.vue @@ -1,12 +1,16 @@