Maybe fix Safari.
I don't have a Mac but https://news.ycombinator.com/item?id=33693607 says it's about this terminal comma.
This commit is contained in:
parent
9b72b0bf93
commit
620260f852
|
@ -272,6 +272,7 @@ function renderWheel() {
|
||||||
let e = edge.getEndpoint();
|
let e = edge.getEndpoint();
|
||||||
points += `${s.x} ${s.y}, `;
|
points += `${s.x} ${s.y}, `;
|
||||||
});
|
});
|
||||||
|
points = points.replace(/, $/, '');
|
||||||
c.setAttribute('points', points);
|
c.setAttribute('points', points);
|
||||||
|
|
||||||
svg.appendChild(c);
|
svg.appendChild(c);
|
||||||
|
|
Loading…
Reference in New Issue