mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Use findNextWhere correctly.
This commit is contained in:
parent
0a5f92a854
commit
c476db0dd7
@ -2098,7 +2098,7 @@
|
||||
return animationWrapper.chartInstance === chartInstance;
|
||||
});
|
||||
|
||||
if (index != -1)
|
||||
if (index)
|
||||
{
|
||||
this.animations.splice(index, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user