forked from AkkomaGang/akkoma-fe
fix preview opening automatically
This commit is contained in:
parent
9ccc6174a7
commit
f7f8181dcf
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ const PostStatusForm = {
|
||||||
el.style.height = 'auto'
|
el.style.height = 'auto'
|
||||||
el.style.height = undefined
|
el.style.height = undefined
|
||||||
this.error = null
|
this.error = null
|
||||||
this.previewStatus()
|
if (this.preview) this.previewStatus()
|
||||||
} else {
|
} else {
|
||||||
this.error = data.error
|
this.error = data.error
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue