diff options
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r-- | web/static/dartboat.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 => { |