mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 00:03:51 +09:00
chore: lint fixes
This commit is contained in:
@ -210,7 +210,7 @@ function react(viaKeyboard = false): void {
|
||||
reactionPicker.show(reactButton.value, reaction => {
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: appearNote.id,
|
||||
reaction: reaction
|
||||
reaction: reaction,
|
||||
});
|
||||
}, () => {
|
||||
focus();
|
||||
@ -221,7 +221,7 @@ function undoReact(note): void {
|
||||
const oldReaction = note.myReaction;
|
||||
if (!oldReaction) return;
|
||||
os.api('notes/reactions/delete', {
|
||||
noteId: note.id
|
||||
noteId: note.id,
|
||||
});
|
||||
}
|
||||
|
||||
@ -245,7 +245,7 @@ function onContextmenu(ev: MouseEvent): void {
|
||||
|
||||
function menu(viaKeyboard = false): void {
|
||||
os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton }), menuButton.value, {
|
||||
viaKeyboard
|
||||
viaKeyboard,
|
||||
}).then(focus);
|
||||
}
|
||||
|
||||
@ -257,12 +257,12 @@ function showRenoteMenu(viaKeyboard = false): void {
|
||||
danger: true,
|
||||
action: () => {
|
||||
os.api('notes/delete', {
|
||||
noteId: note.id
|
||||
noteId: note.id,
|
||||
});
|
||||
isDeleted.value = true;
|
||||
}
|
||||
},
|
||||
}], renoteTime.value, {
|
||||
viaKeyboard: viaKeyboard
|
||||
viaKeyboard: viaKeyboard,
|
||||
});
|
||||
}
|
||||
|
||||
@ -284,7 +284,7 @@ function focusAfter() {
|
||||
|
||||
function readPromo() {
|
||||
os.api('promo/read', {
|
||||
noteId: appearNote.id
|
||||
noteId: appearNote.id,
|
||||
});
|
||||
isDeleted.value = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user