From 620260f8524d3ac2f036b61650f83c211a347fa0 Mon Sep 17 00:00:00 2001 From: Anthony Lieuallen Date: Mon, 21 Nov 2022 11:53:03 -0500 Subject: [PATCH] Maybe fix Safari. I don't have a Mac but https://news.ycombinator.com/item?id=33693607 says it's about this terminal comma. --- colors.html | 1 + 1 file changed, 1 insertion(+) 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);