]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Responsive used proper "each" from helpers
authorTanner Linsley <tannerlinsley@gmail.com>
Tue, 16 Jun 2015 04:44:06 +0000 (22:44 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Tue, 16 Jun 2015 04:44:06 +0000 (22:44 -0600)
src/core/core.responsive.js

index 73c12ea3057a9e8196ef901cbe569ef0e9fd5d96..23295feba6d7c9f189d28f247e0b17d631055bf3 100644 (file)
@@ -15,7 +15,7 @@
                return function() {
                        clearTimeout(timeout);
                        timeout = setTimeout(function() {
-                               each(Chart.instances, function(instance) {
+                               helpers.each(Chart.instances, function(instance) {
                                        // If the responsive flag is set in the chart instance config
                                        // Cascade the resize event down to the chart.
                                        if (instance.options.responsive) {