summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
diff options
context:
space:
mode:
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) {