don't start sound auto
This commit is contained in:
parent
a501b37e57
commit
4d655b5113
@ -298,10 +298,7 @@ export default {
|
||||
methods: {
|
||||
toggleSound() {
|
||||
this.$store.commit("toggleSound");
|
||||
if(this.isSoundEnabled){
|
||||
this.isSoundPlaying = true;
|
||||
this.audio.play();
|
||||
} else {
|
||||
if(!this.isSoundEnabled){
|
||||
this.isSoundPlaying = false;
|
||||
this.audio.pause();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user