diff --git a/webapp/components/LoginForm/LoginForm.vue b/webapp/components/LoginForm/LoginForm.vue
index 1e5650b99..0df0dfdb6 100644
--- a/webapp/components/LoginForm/LoginForm.vue
+++ b/webapp/components/LoginForm/LoginForm.vue
@@ -32,15 +32,14 @@
/>
{
- showPassword = !showPassword;
- event.preventDefault();
- }"
+ @mousedown="
+ (event) => {
+ showPassword = !showPassword
+ event.preventDefault()
+ }
+ "
>
-
+
@@ -68,7 +67,7 @@ import BaseIcon from '../_new/generic/BaseIcon/BaseIcon'
export default {
components: {
LocaleSwitch,
- BaseIcon
+ BaseIcon,
},
data() {
return {
@@ -76,7 +75,7 @@ export default {
email: '',
password: '',
},
- showPassword: false
+ showPassword: false,
}
},
computed: {
@@ -154,7 +153,5 @@ export default {
margin-right: -16px;
width: 100%;
}
-
}
-