diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-20 15:03:44 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-20 15:03:44 -0700 |
commit | 6fb1750b923b97a377d6ef8ad4a25b501e65b39d (patch) | |
tree | 07fd49ffd6ea14b528725c99f511136a1ea54fb3 /web/static/dartboat.js | |
parent | 7433d87aef18955468027a79edd9bb50c4db8275 (diff) | |
download | dartboat-6fb1750b923b97a377d6ef8ad4a25b501e65b39d.tar.gz dartboat-6fb1750b923b97a377d6ef8ad4a25b501e65b39d.tar.xz |
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.
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r-- | web/static/dartboat.js | 4 |
1 files changed, 4 insertions, 0 deletions
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; |