From 572aceb7e7a86c227f2d92c0abf651ba9c3cb4df Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Thu, 3 Nov 2016 17:35:49 +0100
Subject: Hide after posting.

---
 src/components/status/status.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index f3d36c54..8361aa52 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -35,7 +35,7 @@
         <div>
           <div class='status-actions'>
             <div>
-              <a href="#" v-on:click.prevent="toggleReplying()">
+              <a href="#" v-on:click.prevent="toggleReplying">
                 <i class='fa icon-reply'></i>
               </a>
             </div>
@@ -45,7 +45,7 @@
             <favorite-button :status=status></favorite-button>
           </div>
 
-          <post-status-form v-if="replying" :reply-to="status.id" :attentions="status.attentions" :repliedUser="status.user"></post-status-form>
+          <post-status-form v-if="replying" :reply-to="status.id" :attentions="status.attentions" :repliedUser="status.user" v-on:posted="toggleReplying"></post-status-form>
         </div>
       </div>
     </div>
-- 
cgit v1.2.3-70-g09d2

