Skip to content

Commit

Permalink
fix(js30): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seognil committed Jan 30, 2020
1 parent dbfe0ee commit 420f448
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions JavaScript30/01 - JavaScript Drum Kit/index-mine.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@

document.addEventListener('keydown', playSound);

document.querySelector('.keys');
addEventListener('transitionend', (e) => {
document.querySelector('.keys').addEventListener('transitionend', (e) => {
e.propertyName === 'transform' &&
e.target.classList.contains('key') &&
e.target.classList.remove('playing');
Expand Down

0 comments on commit 420f448

Please sign in to comment.