Archived
1
0

try fixing banners more

This commit is contained in:
Jeff Becker 2016-01-20 12:00:28 -05:00
parent ba0f5471a3
commit ab3da1edee
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
4 changed files with 18 additions and 6 deletions

View File

@ -18,6 +18,12 @@
<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"></script>
<script>
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title>{{board.Board}}</title>
</head>
<body>

View File

@ -16,8 +16,10 @@
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
</script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title> {{frontend}} on nntpchan </title>
</head>

View File

@ -19,8 +19,10 @@
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title> {{thread.OP.Subject}} </title>
</head>

View File

@ -12,8 +12,10 @@
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
<script>
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</head>
<body>