Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Remove unused autoplay

Julian Garnier8f5b37e876fd
diff --git a/anime.js b/anime.js
index 12204393..0fc71b91 100644
--- a/anime.js
+++ b/anime.js
@@ -755,7 +755,6 @@
timeline.add = (instance) => {
toArray(instance).forEach(ins => {
if (ins.duration > timeline.duration) timeline.duration = ins.duration;
- ins.autoplay = false;
ins.pause();
timeline.children.push(ins);
});