diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-22 05:41:05 -0400 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-22 05:41:05 -0400 |
| commit | 9ec44128942bbc04cd84e2769664d0ba139a5918 (patch) | |
| tree | 42e90bd6847b6563e1be8e86abb15d4b1908d80b /src | |
| parent | 863ea98acd9a17568bf742f6b3739fc7e3f4c935 (diff) | |
| parent | 2ef915c9f159efc27fda2d35738a2ac915f5c527 (diff) | |
Merge branch 'fix/double-post-with-ctrl-enter' into 'develop'
Don't allow posting again while previous hasn't returned
See merge request !103
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 1 |
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, |
