1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 20:25:05 +01:00

fix preview opening automatically

This commit is contained in:
Shpuld Shpuldson 2020-07-07 14:46:53 +03:00
parent 9ccc6174a7
commit f7f8181dcf

View File

@ -227,7 +227,7 @@ const PostStatusForm = {
el.style.height = 'auto'
el.style.height = undefined
this.error = null
this.previewStatus()
if (this.preview) this.previewStatus()
} else {
this.error = data.error
}