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();
}