From c32d5b9096d146005a8d7cfd07b9629938a3610a Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 17 Mar 2021 17:55:54 -0400 Subject: [PATCH] added irc channel join commands in sidebar it only shows up outside of /2021/live/, so under the registered space. --- 2021/assets/js/stream.js | 2 ++ 2021/includes/live_sidebar.html | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/2021/assets/js/stream.js b/2021/assets/js/stream.js index 1e7686b7..f2cfc157 100644 --- a/2021/assets/js/stream.js +++ b/2021/assets/js/stream.js @@ -311,6 +311,8 @@ app.view = function(ctrl) { "This room's channel: ", m("strong", ["/join ", stream.ircChannel]) ]; + // set css to show irc links in sidebar + document.querySelector('#irc-links-panel').style.display = "block"; } else { var irc_info = [ m("strong", [ diff --git a/2021/includes/live_sidebar.html b/2021/includes/live_sidebar.html index 6c764f1b..0f18abbb 100644 --- a/2021/includes/live_sidebar.html +++ b/2021/includes/live_sidebar.html @@ -32,6 +32,20 @@ + + + +
-- 2.25.1