From 8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 5 Jun 2021 19:27:48 +0200 Subject: Presque sortie du jeu --- views/script/menu_copyright.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 views/script/menu_copyright.js (limited to 'views/script/menu_copyright.js') diff --git a/views/script/menu_copyright.js b/views/script/menu_copyright.js new file mode 100644 index 0000000..35b322a --- /dev/null +++ b/views/script/menu_copyright.js @@ -0,0 +1,5 @@ +if (new Date().getFullYear() === 2021) { + document.write(new Date().getFullYear() + " Minteck Projects"); +} else { + document.write("2021-" + new Date().getFullYear() + " Minteck Projects"); +} \ No newline at end of file -- cgit