fix preview opening automatically

new-bloop
Shpuld Shpuldson 4 years ago
parent 9ccc6174a7
commit f7f8181dcf

@ -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
}

Loading…
Cancel
Save