mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Fix issue with "Illegal invocation" in cancelAnimFrame.
This commit is contained in:
parent
a5550cef6b
commit
6f6f80e6d7
@ -825,7 +825,7 @@
|
|||||||
},
|
},
|
||||||
stop : function(){
|
stop : function(){
|
||||||
// Stops any current animation loop occuring
|
// Stops any current animation loop occuring
|
||||||
helpers.cancelAnimFrame.call(root, this.animationFrame);
|
helpers.cancelAnimFrame(this.animationFrame);
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
resize : function(callback){
|
resize : function(callback){
|
||||||
|
Loading…
Reference in New Issue
Block a user