Fix banner date off by one with new pngs

This commit is contained in:
Daniel Ginovker 2021-04-05 22:15:15 -04:00 committed by GitHub
parent adf08a7ddd
commit dd51ed2328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@
<!--SCRIPT: MONTHLY BANNER-->
<script type="text/javascript">
document.getElementById("banner").src = `./site/2009scape-resources/img/banners/${new Date().getMonth()}.png`;
document.getElementById("banner").src = `./site/2009scape-resources/img/banners/${new Date().getMonth() + 1}.png`;
</script>
<div id="headImage"><a href="" id="logo_select"></a>
@ -382,14 +382,3 @@
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
</html>
<<<<<<< HEAD
=======
>>>>>>> 93cd62bcd8ad7480c55f15f5e20a36fcdbd7604a