fix: like button not playing reaction sound

This commit is contained in:
Marie 2024-01-02 00:47:08 +01:00
parent c9ca1dd3f1
commit b87142d2f7
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
6 changed files with 6 additions and 0 deletions

View file

@ -636,6 +636,7 @@ function react(viaKeyboard = false): void {
function like(): void {
pleaseLogin();
showMovedDialog();
sound.play('reaction');
os.api('notes/like', {
noteId: appearNote.value.id,
override: defaultLike.value,