From 6fb1750b923b97a377d6ef8ad4a25b501e65b39d Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 20 May 2022 15:03:44 -0700 Subject: web: support visit log for 3+ player matches The new match modes are for testing. They'll eventually be removed in favour of true configurability. --- web/static/dartboat.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/static/dartboat.js') diff --git a/web/static/dartboat.js b/web/static/dartboat.js index 5c7f011..ecbee74 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -50,6 +50,10 @@ function elemSetUniqClass(sel, c, sel_set) { sel && e.matches(selstr) ? 'add' : 'remove'](cstr)); } +function rootSetStylePropertyInt(prop, val) { + document.documentElement.style.setProperty(UTF8ToString(prop), val); +} + function elemScrollToBottom(sel) { const e = $(UTF8ToString(sel)); e.scrollTop = e.scrollHeight; -- cgit v1.2.3-70-g09d2