Browse Source

Rename auto_resize to resize_auto

pull/860/head
Denis Voytyuk 10 years ago
parent
commit
6e9747101b
  1. 2
      src/core.js

2
src/core.js

@ -292,7 +292,7 @@ c3_chart_internal_fn.initWithData = function (data) {
window.onresize.add(function () { window.onresize.add(function () {
config.onresize.call($$); config.onresize.call($$);
}); });
if (config.auto_resize) { if (config.resize_auto) {
window.onresize.add(function () { window.onresize.add(function () {
if (timeout !== undefined) { if (timeout !== undefined) {
clearTimeout(timeout); clearTimeout(timeout);

Loading…
Cancel
Save