diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index 11bd527..90756d9 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -973,11 +973,9 @@ const beatWrap = document.querySelector('.beat-wrap'); const horizonEl = document.querySelector('.horizon'); function triggerBeat() { - [beatWrap, horizonEl].forEach(el => { - el.classList.remove('beat'); - void el.offsetWidth; - el.classList.add('beat'); - }); + horizonEl.classList.remove('beat'); + void horizonEl.offsetWidth; + horizonEl.classList.add('beat'); } function detectBeat(vals) {