1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 10:16:10 +02:00
This commit is contained in:
syuilo
2018-04-08 17:15:07 +09:00
parent 17f20a90b2
commit 4753dfa4d9
2 changed files with 14 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ export default Vue.extend({
onNote(note) {
// サウンドを再生する
if ((this as any).os.isEnableSounds) {
const sound = new Audio(`${url}/assets/note.mp3`);
const sound = new Audio(`${url}/assets/post.mp3`);
sound.volume = localStorage.getItem('soundVolume') ? parseInt(localStorage.getItem('soundVolume'), 10) / 100 : 1;
sound.play();
}