Archived
1
0

fix up livechan template

This commit is contained in:
Jeff Becker 2016-07-05 12:13:48 -04:00
parent d5d30893e5
commit e954c57da6
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -16,20 +16,17 @@
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head> </head>
<body> <body>
<div id="chat" style="position:absolute;left:0;right:0;top:0;bottom:0;"></div> <noscript>you need js for livechan mode</noscript>
<script type="text/javascript" > <script type="text/javascript" >
e = document.getElementById("chat"); var e = document.createElement("div");
e.setAttribute("id", "chat");
e.setAttribute("style", "position:absolute;left:0;right:0;top:0;bottom:0;");
document.appendChild(e);
var board = "live"; var board = "live";
if (location.hash != "" ) { if (location.hash != "" ) {
board = location.hash.substr(1); board = location.hash.substr(1);
} }
new Chat(e, board, { prefix : "{{prefix}}" }); new Chat(e, board, { prefix : "{{prefix}}" });
</script> </script>
<!--
<footer>
<p class="legal">All posts on this site are the responsibility of the individual poster and not the administration, pursuant to 47 U.S.C. § 230.</p>
<p class="legal">To make a DMCA request or report illegal content, please contact the administration</p>
</footer>
-->
</body> </body>
</html> </html>