Browse Source

Resolves jslint issues.

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

4
c3.js

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

Loading…
Cancel
Save