Skip to content

Commit e8f7d71

Browse files
committed
fix: args[opt] = [opt], should be args[opt] = opts[opt], in animationFunctions
1 parent 292ae9d commit e8f7d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js-css-animations/js-css-animations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const animationFunctions = (function () {
152152
'widthTransition',
153153
'heightTransition',
154154
'dimensionsTransition',
155-
].forEach(opt => (args[opt] = [opt]));
155+
].forEach(opt => (args[opt] = opts[opt]));
156156

157157
getTargets(target).forEach((element, i) => {
158158
opts.animType = animType;

0 commit comments

Comments
 (0)