From: Benjamin Auder Date: Sat, 2 May 2020 01:26:30 +0000 (+0200) Subject: Close edit after sending bio update X-Git-Url: https://git.auder.net/variants/current/doc/scripts/pieces/%24%7BgetWhatsApp%28link%29%7D?a=commitdiff_plain;h=1f9299393b795bfd2c5a57bf1292754a19329cd8;p=vchess.git Close edit after sending bio update --- diff --git a/client/src/components/UserBio.vue b/client/src/components/UserBio.vue index eed423a6..1a86b671 100644 --- a/client/src/components/UserBio.vue +++ b/client/src/components/UserBio.vue @@ -94,6 +94,7 @@ export default { else if (this.modeEdit) this.adjustHeight(); }, sendBio: function() { + this.modeEdit = false; ajax( "/userbio", "PUT",