Skip to content

Commit 705de00

Browse files
author
devbyali
committed
fix the bugs
1 parent ebee36e commit 705de00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ class DrumKit {
9191
this.KickAudio.volume = 0;
9292
break;
9393
case "1":
94-
this.snareAudio.volume = 0;
94+
this.SnareAudio.volume = 0;
9595
break;
9696
case "2":
97-
this.hihatAudio.volume = 0;
97+
this.hiHatAudio.volume = 0;
9898
break;
9999
}
100100
} else {
@@ -103,10 +103,10 @@ class DrumKit {
103103
this.KickAudio.volume = 1;
104104
break;
105105
case "1":
106-
this.snareAudio.volume = 1;
106+
this.SnareAudio.volume = 1;
107107
break;
108108
case "2":
109-
this.hihatAudio.volume = 1;
109+
this.hiHatAudio.volume = 1;
110110
break;
111111
}
112112
}

0 commit comments

Comments
 (0)