From 5000a63c4afa4be25aa7ee0381325a24f8f83657 Mon Sep 17 00:00:00 2001 From: Tomohiro IKEDA Date: Tue, 30 Jan 2024 21:45:11 +0900 Subject: [PATCH] feat: Display copyright --- app.js | 4 ++++ index.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index f040b3e17..4e8822e47 100644 --- a/app.js +++ b/app.js @@ -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); diff --git a/index.html b/index.html index dce93a30e..9ce0c65f3 100644 --- a/index.html +++ b/index.html @@ -69,7 +69,7 @@

CDN

header