Use findNextWhere correctly.

This commit is contained in:
Evert Timberg 2015-04-11 23:05:05 -04:00
parent 0a5f92a854
commit c476db0dd7

View File

@ -2098,7 +2098,7 @@
return animationWrapper.chartInstance === chartInstance; return animationWrapper.chartInstance === chartInstance;
}); });
if (index != -1) if (index)
{ {
this.animations.splice(index, 1); this.animations.splice(index, 1);
} }