mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Use findNextWhere correctly.
This commit is contained in:
parent
0a5f92a854
commit
c476db0dd7
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user