-
+
Agenda
diff --git a/frontend/src/app.js b/frontend/src/app.js
index b8f886d..c9cf2ce 100644
--- a/frontend/src/app.js
+++ b/frontend/src/app.js
@@ -89,9 +89,8 @@ function svgEl(name, attrs){
return e;
}
function overlaySvg(cls, w, h){
- const svg = svgEl('svg', {class:'cheap-overlay ' + cls, width:w, height:h,
+ return svgEl('svg', {class:'cheap-overlay ' + cls, width:w, height:h,
viewBox:`0 0 ${w.toFixed(1)} ${h.toFixed(1)}`});
- return svg;
}
function drawCheapPath(){
out.querySelectorAll('svg.cheap-overlay').forEach(e => e.remove());