We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd06339 commit e3b4261Copy full SHA for e3b4261
1 file changed
01 - JavaScript Drum Kit/index-START.html
@@ -69,6 +69,7 @@
69
70
function removeTransition(e) {
71
if(e.propertyName !== 'transform') return; // skip it if it's not a transform
72
+ if(!this.classList.contains('playing')) return; // skip if the transition if moving from ".playing" to not ".playing"
73
this.classList.remove('playing');
74
}
75
0 commit comments