summaryrefslogtreecommitdiff
path: root/web/web_svg.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_svg.c')
-rw-r--r--web/web_svg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_svg.c b/web/web_svg.c
index ffdd104..ab712f8 100644
--- a/web/web_svg.c
+++ b/web/web_svg.c
@@ -197,5 +197,5 @@ void svg_draw_point(double x, double y)
void svg_clear_points()
{
- EM_ASM({elemSetContent($0, $1)}, "#dartboard .overlay", NULL);
+ dom_elem_set_content("#dartboard .overlay", NULL);
}