diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-03 12:29:09 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-03 12:29:09 -0700 |
commit | 9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c (patch) | |
tree | 662ca1cb433fd95822d5af0e27ba13388fbd6eac /web/web_control.c | |
parent | d9add805c3b556d2fa357713bda577f4dc6f2d49 (diff) | |
download | dartboat-9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c.tar.gz dartboat-9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c.tar.xz |
web: use generic JS functions for manipulating DOM
Diffstat (limited to 'web/web_control.c')
-rw-r--r-- | web/web_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_control.c b/web/web_control.c index 25f2ccb..f44315f 100644 --- a/web/web_control.c +++ b/web/web_control.c @@ -40,7 +40,7 @@ void update_user_rem_from_pts(int pts) EMSCRIPTEN_KEEPALIVE void end_boat_visit(int rem, double avg) { - EM_ASM(svgClearPoints()); + svg_clear_points(); update_player_rem(2, rem); scoreboard_set_player_avg(2, avg); prompt_set_input(NULL); |