summaryrefslogtreecommitdiff
path: root/client-web
diff options
context:
space:
mode:
Diffstat (limited to 'client-web')
-rw-r--r--client-web/source/room_watches.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client-web/source/room_watches.ts b/client-web/source/room_watches.ts
index 37d6dce..fb07ff5 100644
--- a/client-web/source/room_watches.ts
+++ b/client-web/source/room_watches.ts
@@ -58,7 +58,8 @@ export function ui_room_watches(conn: SignalingConnection): HTMLElement {
e("label", {}, "Add room:", input = e("input", { type: "text" })),
e("button", {
async onclick(_e) {
- await add_watch(input.value)
+ for (const w in input.value.split(";"))
+ await add_watch(w)
update_watches()
save_watches()
input.value = ""