From 8f82ecb19f45a9798eb40b198482f501d93524c4 Mon Sep 17 00:00:00 2001 From: lesion Date: Sun, 12 Aug 2018 00:05:52 +0200 Subject: [PATCH] avoid flashing --- public/stylesheets/style.css | 4 ++++ views/password.pug | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 6dc99e7..caec9b4 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -74,4 +74,8 @@ input { button { cursor: pointer; height: 34px; +} + +[v-cloak] { + display: none; } \ No newline at end of file diff --git a/views/password.pug b/views/password.pug index d3fe30b..c8f389f 100644 --- a/views/password.pug +++ b/views/password.pug @@ -8,7 +8,7 @@ block content li cia0Antaniqwer10102018 li Tr0ub4dour&3 br - #app + #app(v-cloak) input( type='password', v-model='password',