semicolons
This commit is contained in:
parent
c0f9e44712
commit
f64e6e8646
@ -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; });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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; });
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -340,7 +340,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,
|
||||
@ -467,7 +467,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;
|
||||
@ -486,7 +486,7 @@ function renote(visibility: Visibility, localOnly: boolean = false) {
|
||||
}).then(() => {
|
||||
os.toast(i18n.ts.renoted);
|
||||
renoted.value = true;
|
||||
}).finally(() => { renoting = false });
|
||||
}).finally(() => { renoting = false; });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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; });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user