fix: missed new keyword for Date

This commit is contained in:
LelouchFR 2025-10-22 11:52:55 +00:00
parent 26e486a492
commit 78236ffe82

View File

@ -72,7 +72,7 @@
{{#section 'foot'}}
<script>
const copyrightYear = document.querySelector("span#copyright-year");
copyrightYear.innerText = Date().getFullYear();
copyrightYear.innerText = new Date().getFullYear();
const bandwidthRaccoon = document.querySelector("footer img.bandwidth-raccoon");
const bandwidthRaccoonWrapper = document.querySelector("footer .bandwidth-raccoon-wrapper");