]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix issue with "Illegal invocation" in cancelAnimFrame. 889/head
authorBjørnar Grip Fjær <bjornar.fjar@gmail.com>
Sun, 25 Jan 2015 17:31:35 +0000 (18:31 +0100)
committerBjørnar Grip Fjær <bjornar.fjar@gmail.com>
Tue, 27 Jan 2015 18:14:00 +0000 (19:14 +0100)
src/Chart.Core.js

index 7cea9953578cd6d6814548432a0300fc6b83f1b5..525b0c4330d7312a869faf96f5d3a5159c9ad31a 100755 (executable)
                },
                stop : function(){
                        // Stops any current animation loop occuring
-                       helpers.cancelAnimFrame.call(root, this.animationFrame);
+                       helpers.cancelAnimFrame(this.animationFrame);
                        return this;
                },
                resize : function(callback){