From 8afcdddda7ee7ca739d2e34426710fc883ce9703 Mon Sep 17 00:00:00 2001 From: Maksym Bykovskyy Date: Tue, 5 Aug 2014 13:14:20 -0700 Subject: [PATCH] Autoplay is fixed. --- core-animation.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core-animation.html b/core-animation.html index 9a958c9..a2ad08f 100644 --- a/core-animation.html +++ b/core-animation.html @@ -299,8 +299,10 @@ * @return AnimationPlayer The animation player. */ play: function() { - this.apply(); - if (this.animation && !this.autoplay) { + if (!this.autoplay) { + this.apply(); + } + if (this.animation) { this.player = document.timeline.play(this.animation); this.player.onfinish = this.animationFinishHandler.bind(this); return this.player;