From: Bjørnar Grip Fjær Date: Sun, 25 Jan 2015 17:31:35 +0000 (+0100) Subject: Fix issue with "Illegal invocation" in cancelAnimFrame. X-Git-Tag: v1.0.2~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F889%2Fhead;p=thirdparty%2FChart.js.git Fix issue with "Illegal invocation" in cancelAnimFrame. --- 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){