From 97f94dfe1cfc5a0969f1188c90bbe9a0ee111006 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 28 Dec 2016 11:44:23 +0100 Subject: [PATCH] generate password only when user click on button --- src/views/PasswordGenerator.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/PasswordGenerator.vue b/src/views/PasswordGenerator.vue index c0a5116..f74a303 100644 --- a/src/views/PasswordGenerator.vue +++ b/src/views/PasswordGenerator.vue @@ -83,8 +83,7 @@ autocomplete="new-password" autocorrect="off" autocapitalize="off" - v-model="masterPassword" - v-on:keyup.enter.prevent="generatePassword"> + v-model="masterPassword">