Browse Source

Changed var to be consistent with others

pull/127/head
Josh Purvis 11 years ago
parent
commit
ef71ad5fda
  1. 2
      c3.js

2
c3.js

@ -1920,7 +1920,7 @@
var id = d.id || d;
// if callback function is provided
if (_colors[id] instanceof Function) { return colors[id](d); }
if (colors[id] instanceof Function) { return colors[id](d); }
// if specified, choose that color
if (id in colors) { return colors[id]; }

Loading…
Cancel
Save