logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 9ec44128942bbc04cd84e2769664d0ba139a5918
parent: 863ea98acd9a17568bf742f6b3739fc7e3f4c935
Author: Shpuld Shpuldson <shpuld@gmail.com>
Date:   Tue, 22 Aug 2017 05:41:05 -0400

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:

Msrc/components/post_status_form/post_status_form.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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,