summaryrefslogtreecommitdiff
path: root/client-web/source/preferences/ui.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-27 20:22:56 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-27 20:23:02 +0200
commit8b11f29a5e83a8bd6d9111e7b2d871eaab5536eb (patch)
tree3aaee4f66b05d05c01ca9044d656293a109ed8eb /client-web/source/preferences/ui.ts
parent959d2c9d7acea2cd7febcf1ab8ba5efd771c7713 (diff)
downloadkeks-meet-8b11f29a5e83a8bd6d9111e7b2d871eaab5536eb.tar
keks-meet-8b11f29a5e83a8bd6d9111e7b2d871eaab5536eb.tar.bz2
keks-meet-8b11f29a5e83a8bd6d9111e7b2d871eaab5536eb.tar.zst
prototype stream previews
Diffstat (limited to 'client-web/source/preferences/ui.ts')
-rw-r--r--client-web/source/preferences/ui.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client-web/source/preferences/ui.ts b/client-web/source/preferences/ui.ts
index 9cb52fd..c710f54 100644
--- a/client-web/source/preferences/ui.ts
+++ b/client-web/source/preferences/ui.ts
@@ -57,6 +57,8 @@ export function ui_preferences(): HTMLElement {
textbox.type = "number"
textbox.id = id
textbox.value = PREFS[key] as string
+ if (decl.min) textbox.min = "" + decl.min
+ if (decl.max) textbox.max = "" + decl.max
textbox.onchange = () => {
change_pref(key, parseFloat(textbox.value))
}