Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jbowerjr committed Jul 23, 2024
1 parent b4a40fe commit 9fb1717
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
let txt, lowval, highval;
for (let x = 0, y = scale.length - 1; x<y; x++) {
lowval = x === 0 ? '' : __formatVal(scale[x]);
// highval = x === y - 1 ? '' : __formatVal(scale[x + 1] - (Math.pow(10, -1 * option.decimal_places)));
highval = x === y - 1 ? '' : __formatVal(scale[x + 1]);
txt = lowval == '' ? '&lt;=&nbsp;' + highval : (highval == '' ? lowval + '&nbsp;+' : lowval + '&nbsp;&ndash;&nbsp;' + highval);
div.innerHTML += '<div><i style="background-color:' + colorFn(scale[x]) + '"></i> ' + txt + '</div>';
Expand Down

0 comments on commit 9fb1717

Please sign in to comment.