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/SkNoteDetailed.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/SkNoteDetailed.vue')
| -rw-r--r-- | packages/frontend/src/components/SkNoteDetailed.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/SkNoteDetailed.vue b/packages/frontend/src/components/SkNoteDetailed.vue index 788abb8f6c..56929396f3 100644 --- a/packages/frontend/src/components/SkNoteDetailed.vue +++ b/packages/frontend/src/components/SkNoteDetailed.vue @@ -360,7 +360,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, @@ -500,7 +500,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) { @@ -517,7 +517,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) { }).then(() => { os.toast(i18n.ts.renoted); renoted.value = true; - }).finally(() => { renoting = false }); + }).finally(() => { renoting = false; }); } } |