diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 5d664306d..824f919ed 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -283,7 +283,7 @@ import { getWordSoftMute } from "@/scripts/check-word-mute"; import { useRouter } from "@/router"; import { userPage } from "@/filters/user"; import * as os from "@/os"; -import * as sound from '@/scripts/sound.js'; +import * as sound from "@/scripts/sound.js"; import { defaultStore, noteViewInterruptors } from "@/store"; import { reactionPicker } from "@/scripts/reaction-picker"; import { $i } from "@/account"; @@ -374,7 +374,7 @@ useNoteCapture({ function reply(viaKeyboard = false): void { pleaseLogin(); - sound.play('reaction'); + sound.play("reaction"); os.post( { reply: appearNote, @@ -392,7 +392,7 @@ function react(viaKeyboard = false): void { reactionPicker.show( reactButton.value, (reaction) => { - sound.play('reaction'); + sound.play("reaction"); os.api("notes/reactions/create", { noteId: appearNote.id, diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index 44779d9f1..ef800a623 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -177,7 +177,7 @@ import { pleaseLogin } from "@/scripts/please-login"; import { getWordSoftMute } from "@/scripts/check-word-mute"; import { userPage } from "@/filters/user"; import * as os from "@/os"; -import * as sound from '@/scripts/sound.js'; +import * as sound from "@/scripts/sound.js"; import { defaultStore, noteViewInterruptors } from "@/store"; import { reactionPicker } from "@/scripts/reaction-picker"; import { $i } from "@/account"; @@ -271,11 +271,11 @@ function reply(viaKeyboard = false): void { function react(viaKeyboard = false): void { pleaseLogin(); blur(); - sound.play('reaction'); + sound.play("reaction"); reactionPicker.show( reactButton.value, (reaction) => { - sound.play('reaction'); + sound.play("reaction"); os.api("notes/reactions/create", { noteId: note.id, diff --git a/packages/client/src/components/MkReactionsViewer.reaction.vue b/packages/client/src/components/MkReactionsViewer.reaction.vue index fe4f31cef..68ddf54bb 100644 --- a/packages/client/src/components/MkReactionsViewer.reaction.vue +++ b/packages/client/src/components/MkReactionsViewer.reaction.vue @@ -28,7 +28,7 @@ import XReactionIcon from "@/components/MkReactionIcon.vue"; import * as os from "@/os"; import { useTooltip } from "@/scripts/use-tooltip"; import { $i } from "@/account"; -import * as sound from '@/scripts/sound.js'; +import * as sound from "@/scripts/sound.js"; const props = defineProps<{ reaction: string; @@ -54,7 +54,7 @@ const toggleReaction = () => { noteId: props.note.id, }).then(() => { if (oldReaction !== props.reaction) { - sound.play('reaction'); + sound.play("reaction"); os.api("notes/reactions/create", { noteId: props.note.id, reaction: props.reaction, @@ -62,7 +62,7 @@ const toggleReaction = () => { } }); } else { - sound.play('reaction'); + sound.play("reaction"); os.api("notes/reactions/create", { noteId: props.note.id,