diff options
| author | xenofem <xenofem@xeno.science> | 2020-06-28 02:31:57 -0400 |
|---|---|---|
| committer | xenofem <xenofem@xeno.science> | 2020-06-28 02:31:57 -0400 |
| commit | 03aa1f315406a238eb1cea6b9cc64abf1567b978 (patch) | |
| tree | 1a9369799448c5d31935a2eb49954f9d9bc5f5cc /src | |
| parent | 1ff55e17b1931f0578458256f4ca912e3c50e0cc (diff) | |
fix vue style warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 6 | ||||
| -rw-r--r-- | src/components/still-image/still-image.vue | 2 |
2 files changed, 6 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 6eefc853..49291455 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -266,7 +266,11 @@ :href="file.url" >{{ file.url }}</a> </div> - <input type="text" :placeholder="$t('post_status.media_description')" v-model="newStatus.mediaDescriptions[file.id]"> + <input + v-model="newStatus.mediaDescriptions[file.id]" + type="text" + :placeholder="$t('post_status.media_description')" + > </div> </div> <div diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index 9130ec98..2ebf33ba 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -10,9 +10,9 @@ <!-- NOTE: key is required to force to re-render img tag when src is changed --> <img ref="src" + :key="src" :alt="alt" :title="alt" - :key="src" :src="src" :referrerpolicy="referrerpolicy" @load="onLoad" |
