diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 3d731ae4..daadc10f 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.closePreview() + this.previewStatus() } else { this.error = data.error } diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 94729f75..60dc4a21 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -16,44 +16,6 @@ @drop.stop="fileDrop" />
-
- - {{ $t('post_status.preview') }} - - - -
-
-
- {{ $t('general.loading') }} -
-
- {{ preview.error }} -
- -
{{ $t('post_status.direct_warning_to_first_only') }} {{ $t('post_status.direct_warning_to_all') }}

+ +
+
+ {{ $t('general.loading') }} +
+
+ {{ preview.error }} +
+ +