diff options
Diffstat (limited to 'views/script/menu_copyright.js')
-rw-r--r-- | views/script/menu_copyright.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 |