diff options
| author | Ilja <ilja@ilja.space> | 2022-02-26 02:13:43 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-02-26 02:13:43 +0100 |
| commit | c9e4b6e7a10b614bcf0cc0b91b7540b7b4fdcca2 (patch) | |
| tree | 933354c85bdc2616d650bf64e3f5c3d2f11e5ec1 /src/components/attachment/attachment.vue | |
| parent | d0c4ad22cd5a93f69c689f3c8c75546c35861740 (diff) | |
Make linter happy
`npm run lint` gave warnings for two files, fixed them with `./node_modules/.bin/eslint --fix $FILENAME`
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 59173759..c4399f30 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -81,56 +81,56 @@ <button v-if="type === 'flash' && flashLoaded" class="button-unstyled attachment-button" - @click.prevent="stopFlash" :title="$t('status.attachment_stop_flash')" + @click.prevent="stopFlash" > <FAIcon icon="stop" /> </button> <button v-if="attachment.description && size !== 'small' && !edit && type !== 'unknown'" class="button-unstyled attachment-button" - @click.prevent="toggleDescription" :title="$t('status.show_attachment_description')" + @click.prevent="toggleDescription" > <FAIcon icon="align-right" /> </button> <button v-if="!useModal && type !== 'unknown'" class="button-unstyled attachment-button" - @click.prevent="openModalForce" :title="$t('status.show_attachment_in_modal')" + @click.prevent="openModalForce" > <FAIcon icon="search-plus" /> </button> <button v-if="nsfw && hideNsfwLocal" class="button-unstyled attachment-button" - @click.prevent="toggleHidden" :title="$t('status.hide_attachment')" + @click.prevent="toggleHidden" > <FAIcon icon="times" /> </button> <button v-if="shiftUp" class="button-unstyled attachment-button" - @click.prevent="onShiftUp" :title="$t('status.move_up')" + @click.prevent="onShiftUp" > <FAIcon icon="chevron-left" /> </button> <button v-if="shiftDn" class="button-unstyled attachment-button" - @click.prevent="onShiftDn" :title="$t('status.move_down')" + @click.prevent="onShiftDn" > <FAIcon icon="chevron-right" /> </button> <button v-if="remove" class="button-unstyled attachment-button" - @click.prevent="onRemove" :title="$t('status.remove_attachment')" + @click.prevent="onRemove" > <FAIcon icon="trash-alt" /> </button> @@ -160,7 +160,10 @@ :href="attachment.url" target="_blank" > - <FAIcon size="5x" :icon="placeholderIconClass" /> + <FAIcon + size="5x" + :icon="placeholderIconClass" + /> <p> {{ localDescription }} </p> |
