diff --git a/js/hyperaudio-lite.js b/js/hyperaudio-lite.js index fdbd2d4..c89817c 100644 --- a/js/hyperaudio-lite.js +++ b/js/hyperaudio-lite.js @@ -264,7 +264,7 @@ class HyperaudioLite { e.classList.remove('active'); }); - target.setAttribute('class', 'active'); + target.classList.add('active'); const timeSecs = parseInt(target.getAttribute('data-m')) / 1000;