summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/SkNote.vue
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-08 17:31:56 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-12 17:47:34 +0100
commitf98229d3e042a3d894462bd03d33dfb97c2adccf (patch)
treeb26a0084a4e1aaec003c22ad6a5ec13ca4c870a6 /packages/frontend/src/components/SkNote.vue
parentfix accesses to `canRenote` (diff)
downloadsharkey-f98229d3e042a3d894462bd03d33dfb97c2adccf.tar.gz
sharkey-f98229d3e042a3d894462bd03d33dfb97c2adccf.tar.bz2
sharkey-f98229d3e042a3d894462bd03d33dfb97c2adccf.zip
semicolons
Diffstat (limited to 'packages/frontend/src/components/SkNote.vue')
-rw-r--r--packages/frontend/src/components/SkNote.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/SkNote.vue b/packages/frontend/src/components/SkNote.vue
index 867e9106de..f8d41df081 100644
--- a/packages/frontend/src/components/SkNote.vue
+++ b/packages/frontend/src/components/SkNote.vue
@@ -335,7 +335,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); } },
'up|k|shift+tab': focusBefore,
'down|j|tab': focusAfter,
'esc': blur,
@@ -440,7 +440,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;
@@ -459,7 +459,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
}).then(() => {
os.toast(i18n.ts.renoted);
renoted.value = true;
- }).finally(() => { renoting = false });
+ }).finally(() => { renoting = false; });
}
}
}