summaryrefslogtreecommitdiff
path: root/web/static
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 14:18:31 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 14:18:31 -0700
commit874b94aaeb51ffa80f19b7c9535fbc84af32609e (patch)
treeabee6dfcf213c9dbcc54213ffc606c2e17a72f64 /web/static
parente297ac65f8f0cde103880c73d0c92ad3cb50f161 (diff)
downloaddartboat-874b94aaeb51ffa80f19b7c9535fbc84af32609e.tar.gz
dartboat-874b94aaeb51ffa80f19b7c9535fbc84af32609e.tar.xz
web: bloody JS scope…
Diffstat (limited to 'web/static')
-rw-r--r--web/static/dartboat.js2
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];