diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-21 04:43:19 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-21 04:43:19 -0700 |
commit | 3e8b8b804e7b30f096e557839eb5cc419a647f78 (patch) | |
tree | d59809a8d0d77d90984ef70e0ba1ae58d7b3dbc9 /web/web_scoreboard.c | |
parent | 35f311f779c039423fc7e2a11f98703c40201846 (diff) | |
download | dartboat-3e8b8b804e7b30f096e557839eb5cc419a647f78.tar.gz dartboat-3e8b8b804e7b30f096e557839eb5cc419a647f78.tar.xz |
web: use function ptrs for menu options
This avoids having to keep the options and their order in sync between
separate display and submit functions.
Diffstat (limited to 'web/web_scoreboard.c')
-rw-r--r-- | web/web_scoreboard.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web/web_scoreboard.c b/web/web_scoreboard.c index 3b5993a..e79d104 100644 --- a/web/web_scoreboard.c +++ b/web/web_scoreboard.c @@ -371,7 +371,6 @@ void draw_visits_dense() free(elemv); dom_scroll_to_bottom("#visits"); - dom_scroll_to_center_child("#visits", ".visit-n"); } void draw_visits() |