summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-02 20:03:01 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-02 20:03:01 -0700
commitf4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c (patch)
treee08dbb1336f9bf74a7e7d2d1cefd4728c9b57e18 /web/static/dartboat.js
parent309a8042a3a84476637ad9c0f6535a1d71369759 (diff)
downloaddartboat-f4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c.tar.gz
dartboat-f4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c.tar.xz
web: more renaming
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r--web/static/dartboat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js
index 13a5da4..719bd8d 100644
--- a/web/static/dartboat.js
+++ b/web/static/dartboat.js
@@ -156,12 +156,12 @@ function svgDrawElemv(layer, elemc, elemv, off_name, off_n_attrs, off_attr_names
const content = HEAP32[(struct + off_content)>>2];
if (content) e.textContent = UTF8ToString(content);
- $(`#dartboard${layer ? '-points' : ''}`).appendChild(e);
+ $(`#dartboard .${layer ? 'overlay' : 'base'}`).appendChild(e);
}
}
function svgClearPoints() {
- $('#dartboard-points').textContent = '';
+ $('#dartboard .overlay').textContent = '';
}
function updateDelay(val) {