summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r--web/static/dartboat.js4
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;