Skip to content

Commit

Permalink
feat: Display copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Korilakkuma committed Jan 30, 2024
1 parent 637e6a6 commit 5000a63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ document.getElementById('button-cdn').addEventListener('mousedown', () => {
})
.catch(console.error);
}, false);

const date = new Date();

document.getElementById('current-year').textContent = date.getFullYear().toString(10);
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h3>CDN</h3>
<a href="#header" class="fade-in-last">header</a>
</aside>
<footer>
<p>XSound maintained by <a href="https://github.com/Korilakkuma" target="_blank" rel="noopener noreferrer">Korilakkuma</a></p>
<p>Copyright (c) 2012 - <span id="current-year"></span> <a href="https://github.com/Korilakkuma" target="_blank" rel="noopener noreferrer">Korilakkuma</a> (Tomohiro IKEDA)</p>
</footer>
<script src="app.js"></script>
</body>
Expand Down

0 comments on commit 5000a63

Please sign in to comment.