Browse Source

Resolves jslint issues.

pull/326/head
Patrick Schreifels 10 years ago
parent
commit
28f6083e2e
  1. 2
      c3.js

2
c3.js

@ -4660,7 +4660,7 @@
.attr('width', 10) .attr('width', 10)
.attr('height', 10); .attr('height', 10);
// Set background for inset legend // Set background for inset legend
if (isLegendInset && maxWidth != 0) { if (isLegendInset && maxWidth !== 0) {
legend.insert('g', '.' + CLASS.legendItem) legend.insert('g', '.' + CLASS.legendItem)
.attr("class", CLASS.legendBackground).append('rect') .attr("class", CLASS.legendBackground).append('rect')
.style('opacity', 0.75) .style('opacity', 0.75)

Loading…
Cancel
Save