diff --git a/public/js/main.min.js b/public/js/main.min.js index e69de29..6dfd248 100644 --- a/public/js/main.min.js +++ b/public/js/main.min.js @@ -0,0 +1 @@ +function addCopyrightCurrentDate(){document.querySelector("footer").querySelector("p").innerHTML+=" "+(new Date).getFullYear()}addCopyrightCurrentDate(); \ No newline at end of file diff --git a/resources/js/app.js b/resources/js/app.js index f2c1ef1..ad07685 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1,3 +1,7 @@ (function() { + addCopyrightCurrentDate(); +})(); -}); \ No newline at end of file +function addCopyrightCurrentDate() { + document.querySelector('footer').querySelector('p').innerHTML += ' ' + new Date().getFullYear(); +} \ No newline at end of file diff --git a/view/fr/index.html b/view/fr/index.html index b4a81a8..a16f47e 100644 --- a/view/fr/index.html +++ b/view/fr/index.html @@ -48,7 +48,7 @@