don't try to show irc iframe when js is disabled
authorAndrew Engelbrecht <andrew@fsf.org>
Wed, 1 Mar 2023 21:27:24 +0000 (16:27 -0500)
committerAndrew Engelbrecht <andrew@fsf.org>
Wed, 1 Mar 2023 21:27:24 +0000 (16:27 -0500)
2023/live/index.html

index 1b86779c1035e150f564ef77d3ba35dc010ba943..514a5079b5225487a4f9d4bda4e74aeb9f7c1e1f 100755 (executable)
@@ -73,9 +73,12 @@ ffplay https://live.fsf.org/stream-room-neptune.webm
 
     <div id="stream"></div>
 
-    <iframe src="https://irc.libreplanet.org/irc/"
+    <iframe id="IRCiframe" style="display:none" src="https://irc.libreplanet.org/irc/"
             class="irc-client">
     </iframe>
+    <script>
+        document.getElementById('IRCiframe').style.display='block';
+    </script>
 
     <div style="margin-top: 20px">
         <p>For low resolution stream URLs, check the sidebar to the right.</p>