diff options
-rw-r--r-- | web/static/dartboat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index 99513e2..94337be 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -90,7 +90,7 @@ function drawVisit(visit_no, p1_pts, p1_rem, p2_pts, p2_rem, p2_darts) { function svgAppendElemv(sel, elemc, elemv, off_name, off_n_attrs, off_attr_names, off_attr_vals, off_content) { - target = $(UTF8ToString(sel)); + const target = $(UTF8ToString(sel)); for (let ptr = elemv; ptr < elemv + 4*elemc; ptr += 4) { const struct = HEAP32[ptr>>2]; |