Skip to content

Commit 4c37271

Browse files
committed
addCatch
1 parent 2631dff commit 4c37271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/web-animations-bonus-object-form-keyframes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
{duration: 1});
3939
animation.currentTime = 0;
4040
animated = getComputedStyle(element).getPropertyValue('opacity') == testOpacity;
41+
} catch (error) {
4142
} finally {
4243
if (animation)
4344
animation.cancel();

0 commit comments

Comments
 (0)