all tests passing

fix-each-block-duplications
Rich Harris 3 months ago
parent 2cfbef476c
commit 3f0eac1a3d

@ -297,8 +297,8 @@ function animate(element, options, counterpart, t2, callback) {
fill: 'forwards' fill: 'forwards'
}); });
// @ts-ignore // we can't do `= callback` since the callback can change
animation.onfinish = callback; animation.onfinish = () => callback?.();
} else { } else {
// Timer // Timer
if (t1 === 0) { if (t1 === 0) {

Loading…
Cancel
Save