Commit 28f6083e authored by Patrick Schreifels's avatar Patrick Schreifels

Resolves jslint issues.

parent 1d765b51
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment