Archived
1
0

try fixing banners

This commit is contained in:
Jeff Becker
2016-01-20 12:08:01 -05:00
parent 33d95c2ef3
commit 97faee8d1d
4 changed files with 27 additions and 25 deletions

View File

@@ -17,12 +17,6 @@
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title>{{board.Board}}</title>
</head>
<body>
@@ -51,5 +45,11 @@
</div>
{{/board.Threads}}
</div>
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>