From 6f6f80e6d73baeef14e7600272a072dc899ea0c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rnar=20Grip=20Fj=C3=A6r?= Date: Sun, 25 Jan 2015 18:31:35 +0100 Subject: [PATCH] Fix issue with "Illegal invocation" in cancelAnimFrame. --- 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 7cea99535..525b0c433 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -825,7 +825,7 @@ }, stop : function(){ // Stops any current animation loop occuring - helpers.cancelAnimFrame.call(root, this.animationFrame); + helpers.cancelAnimFrame(this.animationFrame); return this; }, resize : function(callback){ -- 2.47.2