From: Andrew Engelbrecht Date: Wed, 17 Mar 2021 21:55:54 +0000 (-0400) Subject: added irc channel join commands in sidebar X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c32d5b9096d146005a8d7cfd07b9629938a3610a;p=libreplanet-static.git added irc channel join commands in sidebar it only shows up outside of /2021/live/, so under the registered space. --- 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 @@ + + + +