diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-08 17:31:56 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-08 17:33:15 +0100 |
| commit | f64e6e8646b1d2f9eccbdba3a9563dc1605681d4 (patch) | |
| tree | 16823a242e1bfe32fded0e5a0509abca07f1eec0 /packages/frontend/src/components/MkNoteDetailed.vue | |
| parent | fix accesses to `canRenote` (diff) | |
| download | sharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.tar.gz sharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.tar.bz2 sharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.zip | |
semicolons
Diffstat (limited to 'packages/frontend/src/components/MkNoteDetailed.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 45dabe7ceb..991437a510 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -351,7 +351,7 @@ let renoting = false; const keymap = { 'r': () => reply(true), 'e|a|plus': () => react(true), - '(q)': () => { if (canRenote.value && !renoted.value && !renoting) { renoting = true; renote(appearNote.value.visibility) } }, + '(q)': () => { if (canRenote.value && !renoted.value && !renoting) { renoting = true; renote(appearNote.value.visibility); } }, 'esc': blur, 'm|o': () => showMenu(true), 's': () => showContent.value !== showContent.value, @@ -491,7 +491,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) { }).then(() => { os.toast(i18n.ts.renoted); renoted.value = true; - }).finally(() => { renoting = false }); + }).finally(() => { renoting = false; }); } else if (!appearNote.value.channel || appearNote.value.channel.allowRenoteToExternal) { const el = renoteButton.value as HTMLElement | null | undefined; if (el) { @@ -508,7 +508,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) { }).then(() => { os.toast(i18n.ts.renoted); renoted.value = true; - }).finally(() => { renoting = false }); + }).finally(() => { renoting = false; }); } } |