diff options
| author | Marie <marie@kaifa.ch> | 2024-01-02 12:32:49 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-01-02 12:32:49 +0100 |
| commit | 0197d3354a596b2e326e5ed3485045c7c569c070 (patch) | |
| tree | 29a71f62f6b68f48a4907cf0e8a3c32dde0f9bb9 /packages/frontend/src/components/MkNoteSub.vue | |
| parent | fix: like button not playing reaction sound (diff) | |
| download | sharkey-0197d3354a596b2e326e5ed3485045c7c569c070.tar.gz sharkey-0197d3354a596b2e326e5ed3485045c7c569c070.tar.bz2 sharkey-0197d3354a596b2e326e5ed3485045c7c569c070.zip | |
fix: lint
Diffstat (limited to 'packages/frontend/src/components/MkNoteSub.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteSub.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 08423219f7..d725ca15af 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -91,6 +91,7 @@ import MkSubNoteContent from '@/components/MkSubNoteContent.vue'; import MkCwButton from '@/components/MkCwButton.vue'; import { notePage } from '@/filters/note.js'; import * as os from '@/os.js'; +import * as sound from '@/scripts/sound.js'; import { i18n } from '@/i18n.js'; import { $i } from '@/account.js'; import { userPage } from '@/filters/user.js'; @@ -193,6 +194,7 @@ function reply(viaKeyboard = false): void { function react(viaKeyboard = false): void { pleaseLogin(); showMovedDialog(); + sound.play('reaction'); if (props.note.reactionAcceptance === 'likeOnly') { os.api('notes/like', { noteId: props.note.id, |