mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Responsive used proper "each" from helpers
This commit is contained in:
parent
76e060cf97
commit
8b3424bd09
@ -15,7 +15,7 @@
|
|||||||
return function() {
|
return function() {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
timeout = setTimeout(function() {
|
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
|
// If the responsive flag is set in the chart instance config
|
||||||
// Cascade the resize event down to the chart.
|
// Cascade the resize event down to the chart.
|
||||||
if (instance.options.responsive) {
|
if (instance.options.responsive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user