Fix media description again

This commit is contained in:
L. E. Segovia 2018-12-08 00:21:44 +00:00
parent 70237baa8f
commit f5e2f64392
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5
1 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@
maxlength="420" maxlength="420"
class="image-description" class="image-description"
:placeholder="$t('modals.new_toot.description')" :placeholder="$t('modals.new_toot.description')"
v-model="mediaDescriptions[media.id]"
role="textbox" role="textbox"
contenteditable="true" contenteditable="true"
aria-multiline="true"> aria-multiline="true">
@ -67,8 +68,8 @@
</div> </div>
<div class="sensitive" v-show="attachedMedias.length > 0"> <div class="sensitive" v-show="attachedMedias.length > 0">
<el-button size="small" type="text" @click="changeSensitive" :title="$t('modals.new_toot.change_sensitive')"> <el-button size="small" type="text" @click="changeSensitive" :title="$t('modals.new_toot.change_sensitive')">
<icon name="eye-slash" v-show="sensitive"></icon> <icon name="eye-slash" v-show="!sensitive"></icon>
<icon name="eye" v-show="!sensitive"></icon> <icon name="eye" v-show="sensitive"></icon>
</el-button> </el-button>
</div> </div>
<div class="content-warning"> <div class="content-warning">