From 9800012ba0b3bb9b75f74ebd705f82d9e09ac9d8 Mon Sep 17 00:00:00 2001 From: knotteye Date: Sun, 21 Feb 2021 13:23:43 -0600 Subject: [PATCH] Fix a bug where clicking the watch link on a profile would disconnect the user from the chat. --- templates/user.njk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/user.njk b/templates/user.njk index 6238963..8499fa2 100644 --- a/templates/user.njk +++ b/templates/user.njk @@ -68,11 +68,15 @@ async function updateViewers(){ vc.innerHTML = "[Viewers: "+viewers+"]"; setTimeout(updateViewers, 2000); } +//function ohgodwhy(){ +// document.getElementById("cursed"). attr('src', ''); +// document.getElementById("cursed").attr('src', 'rtmp://{{ domain }}/live/{{ username }}'); +//}
{{ username }} | {{ title | escape }}[Viewers: {{viewers}}] - Links | Watch Chat VODs + Links | Watch Chat VODs
Play Stream @@ -85,4 +89,5 @@ async function updateViewers(){
{{ about | escape }} -{% endblock %} \ No newline at end of file + +{% endblock %}