aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-08-22 11:43:03 +0300
committerShpuld Shpuldson <shpuld@gmail.com>2017-08-22 11:43:03 +0300
commit2ef915c9f159efc27fda2d35738a2ac915f5c527 (patch)
tree42e90bd6847b6563e1be8e86abb15d4b1908d80b /src
parent863ea98acd9a17568bf742f6b3739fc7e3f4c935 (diff)
Don't allow posting again while previous hasn't returned
Diffstat (limited to 'src')
-rw-r--r--src/components/post_status_form/post_status_form.js1
1 files changed, 1 insertions, 0 deletions
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,