change misnamed member field check to actually disable sending

This commit is contained in:
Shpuld Shpuldson 2020-07-10 13:48:37 +03:00
parent c1a20079be
commit 5734dd05a0

View file

@ -216,7 +216,7 @@ const PostStatusForm = {
methods: {
async postStatus (event, newStatus, opts = {}) {
if (this.posting) { return }
if (this.submitDisabled) { return }
if (this.disableSubmit) { return }
if (this.emojiInputShown) { return }
if (this.submitOnEnter) {
event.stopPropagation()