aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-06-28 13:17:04 +0300
committerShpuld Shpuldson <shp@cock.li>2020-06-28 13:17:04 +0300
commit6e2de2036755287de0a6123236644842a91b9fea (patch)
tree610fc34ca45e29a39a654de1ddc19bc80ec15bbc /src
parentcecf3d4f8999d247378bfb4ee444348d5d4eba0a (diff)
show preview with plaintext too
Diffstat (limited to 'src')
-rw-r--r--src/components/post_status_form/post_status_form.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index f1455cfd..0bee8bb5 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -17,14 +17,14 @@
/>
<div class="form-group">
<a
- v-if="newStatus.contentType !== 'text/plain' && !showPreview"
+ v-if="!showPreview"
class="preview-start"
@click.stop.prevent="previewStatus(newStatus)"
>
{{ $t('status.preview') }}
</a>
<div
- v-if="showPreview && newStatus.contentType !== 'text/plain'"
+ v-else
class="preview-container"
>
<span class="preview-heading">