summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNote.vue
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-08 17:31:56 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-08 17:33:15 +0100
commitf64e6e8646b1d2f9eccbdba3a9563dc1605681d4 (patch)
tree16823a242e1bfe32fded0e5a0509abca07f1eec0 /packages/frontend/src/components/MkNote.vue
parentfix accesses to `canRenote` (diff)
downloadsharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.tar.gz
sharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.tar.bz2
sharkey-f64e6e8646b1d2f9eccbdba3a9563dc1605681d4.zip
semicolons
Diffstat (limited to 'packages/frontend/src/components/MkNote.vue')
-rw-r--r--packages/frontend/src/components/MkNote.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index d36d5b78d7..86a44f3188 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -339,7 +339,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,
@@ -466,7 +466,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;
@@ -485,7 +485,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
}).then(() => {
os.toast(i18n.ts.renoted);
renoted.value = true;
- }).finally(() => renoting = false);
+ }).finally(() => { renoting = false; });
}
}
}