From 1ec4bbf7c82c4ca91a45e7b600f3d02f5f8f35bf Mon Sep 17 00:00:00 2001 From: Michael Gradek Date: Sat, 15 Aug 2015 22:29:16 +0200 Subject: [PATCH] Changed resetQueue for clearQueue so end state is preserved after all animations finish --- lib/timelines/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timelines/timelines.js b/lib/timelines/timelines.js index 0177b4ee..1991763d 100644 --- a/lib/timelines/timelines.js +++ b/lib/timelines/timelines.js @@ -190,7 +190,7 @@ Timelines.prototype.nextInQueue = function nextInQueue() { this._queue.index++; if (this._queue.index >= this._queue.timelines.length) { if (this._queue.callback) this._queue.callback(); - this.resetQueue(); + this.clearQueue(); } else { var currTimeline = this._queue.timelines[this._queue.index];