Skip to content

Commit 5b9798f

Browse files
authored
Merge pull request wesbos#48 from the-wazz/patch-1
Update index.html
2 parents 810e356 + b23abbb commit 5b9798f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01 - JavaScript Drum Kit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
function playSound(e) {
6464
const audio = document.querySelector(`audio[data-key="${e.keyCode}"]`);
6565
const key = document.querySelector(`.key[data-key="${e.keyCode}"]`);
66-
if (!audio) return; // stop the function from running all together
66+
if (!audio) return; // stop the function from running altogether
6767
audio.currentTime = 0; // rewind to the start
6868
audio.play();
6969
key.classList.add('playing');

0 commit comments

Comments
 (0)