From c476db0dd7269ef47e36162b3f9ab2323f409d2e Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Sat, 11 Apr 2015 23:05:05 -0400 Subject: [PATCH] Use findNextWhere correctly. --- src/Chart.Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 6ee080607..fcdc77636 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -2098,7 +2098,7 @@ return animationWrapper.chartInstance === chartInstance; }); - if (index != -1) + if (index) { this.animations.splice(index, 1); }