diff --git a/colors.html b/colors.html index d802dfd..def60e4 100644 --- a/colors.html +++ b/colors.html @@ -272,6 +272,7 @@ function renderWheel() { let e = edge.getEndpoint(); points += `${s.x} ${s.y}, `; }); + points = points.replace(/, $/, ''); c.setAttribute('points', points); svg.appendChild(c);