Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Feb 7, 2023
1 parent b466a5a commit 8d0f029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controls/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ const Legend = function Legend(options = {}) {
toolsEl.insertBefore(dom.html(divider.render()), toolsEl.firstChild);
toolsEl.insertBefore(dom.html(button.render()), toolsEl.firstChild);
} else {
const node = document.createElement('div');
if (typeof button.getValue === 'function') {
const node = document.createElement("div");
node.classList.add("grow");
node.classList.add('grow');
toolsEl.appendChild(node);
node.appendChild(dom.html(button.render()));
} else {
Expand Down

0 comments on commit 8d0f029

Please sign in to comment.