From 9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 3 May 2022 12:29:09 -0700 Subject: web: use generic JS functions for manipulating DOM --- web/web_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/web_control.c') 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); -- cgit v1.2.3-70-g09d2