From 2ef915c9f159efc27fda2d35738a2ac915f5c527 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 22 Aug 2017 11:43:03 +0300 Subject: [PATCH] Don't allow posting again while previous hasn't returned --- src/components/post_status_form/post_status_form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 3313ec3f..af5b81d4 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -87,6 +87,7 @@ const PostStatusForm = { this.caret = selectionStart }, postStatus (newStatus) { + if (this.posting) { return } this.posting = true statusPoster.postStatus({ status: newStatus.status,