mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
fix: like button not playing reaction sound
Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
parent
001736a462
commit
9b20c61de4
2 changed files with 2 additions and 0 deletions
|
@ -374,6 +374,7 @@ useNoteCapture({
|
||||||
|
|
||||||
function reply(viaKeyboard = false): void {
|
function reply(viaKeyboard = false): void {
|
||||||
pleaseLogin();
|
pleaseLogin();
|
||||||
|
sound.play('reaction');
|
||||||
os.post(
|
os.post(
|
||||||
{
|
{
|
||||||
reply: appearNote,
|
reply: appearNote,
|
||||||
|
|
|
@ -271,6 +271,7 @@ function reply(viaKeyboard = false): void {
|
||||||
function react(viaKeyboard = false): void {
|
function react(viaKeyboard = false): void {
|
||||||
pleaseLogin();
|
pleaseLogin();
|
||||||
blur();
|
blur();
|
||||||
|
sound.play('reaction');
|
||||||
reactionPicker.show(
|
reactionPicker.show(
|
||||||
reactButton.value,
|
reactButton.value,
|
||||||
(reaction) => {
|
(reaction) => {
|
||||||
|
|
Loading…
Reference in a new issue