diff options
| author | Julia Johannesen <julia@insertdomain.name> | 2024-10-01 10:30:02 -0400 |
|---|---|---|
| committer | Julia Johannesen <julia@insertdomain.name> | 2024-10-01 10:30:02 -0400 |
| commit | 0aec0bb402021f4f6572c5fa481bc1273e3c9eed (patch) | |
| tree | c4aebe9dc00829d1249c9cb728e46bd457468601 | |
| parent | Make post form attachments accessible (diff) | |
| download | sharkey-0aec0bb402021f4f6572c5fa481bc1273e3c9eed.tar.gz sharkey-0aec0bb402021f4f6572c5fa481bc1273e3c9eed.tar.bz2 sharkey-0aec0bb402021f4f6572c5fa481bc1273e3c9eed.zip | |
Fix to match upstream
Upstreams linter was mad about the attributes not being before the event
handlers, so this fixes that to match upstream when we end up merging
2024.9 (assuming it gets included in that release)
| -rw-r--r-- | packages/frontend/src/components/MkPostFormAttaches.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkPostFormAttaches.vue b/packages/frontend/src/components/MkPostFormAttaches.vue index ce804a916c..7914f72369 100644 --- a/packages/frontend/src/components/MkPostFormAttaches.vue +++ b/packages/frontend/src/components/MkPostFormAttaches.vue @@ -9,11 +9,11 @@ SPDX-License-Identifier: AGPL-3.0-only <template #item="{element}"> <div :class="$style.file" + role="button" + tabindex="0" @click="showFileMenu(element, $event)" @keydown.space.enter="showFileMenu(element, $event)" @contextmenu.prevent="showFileMenu(element, $event)" - role="button" - tabindex="0" > <MkDriveFileThumbnail :data-id="element.id" :class="$style.thumbnail" :file="element" fit="cover"/> <div v-if="element.isSensitive" :class="$style.sensitive"> |