From a4f1e60ece6dac22c4d913fc70124873803f30ab Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 20 May 2022 01:38:05 -0700 Subject: web: add (incomplete) support for 3+ player matches --- web/static/dartboat.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/static/dartboat.js') diff --git a/web/static/dartboat.js b/web/static/dartboat.js index 54cb29b..5c7f011 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -185,6 +185,11 @@ document.addEventListener('DOMContentLoaded', () => { e.currentTarget.style.display = 'none'; }; $$('.modal').forEach(x => x.addEventListener('click', f)); + + $('#info-slot-prev').addEventListener('click', () => + _scoreboard_prev_slot()); + $('#info-slot-next').addEventListener('click', () => + _scoreboard_next_slot()); }); document.addEventListener('keydown', e => { -- cgit v1.2.3-70-g09d2