diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-07 14:46:53 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-07 14:46:53 +0300 |
| commit | f7f8181dcf5d2a699c0d870bd8873cbe7784a6af (patch) | |
| tree | c299260ac3c63d0ebe90431c40c93919588ef3e5 | |
| parent | 9ccc6174a73199dc3c5fabfc9a9769ab9265060a (diff) | |
fix preview opening automatically
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index daadc10f..62e0d7e4 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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 } |
