forked from mirrors/akkoma-fe
add err msg
This commit is contained in:
parent
30dceab47a
commit
e2de66d850
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@
|
|||
audio.currentTime = 0;
|
||||
audio.play().catch(() => getPromiseFromEvent(window, 'click').then(audio.play));
|
||||
}
|
||||
} catch {}
|
||||
} catch {
|
||||
console.log("Failed to play music");
|
||||
}
|
||||
}
|
||||
|
||||
function volumeSet(number) {
|
||||
|
|
Loading…
Reference in a new issue