mirror of
https://github.com/ConjureETS/Site.git
synced 2026-03-24 01:30:58 +00:00
AutoUpdate Copyright Year Date
This commit is contained in:
parent
c45de91e9f
commit
a5e9022c23
1
public/js/main.min.js
vendored
1
public/js/main.min.js
vendored
@ -0,0 +1 @@
|
||||
function addCopyrightCurrentDate(){document.querySelector("footer").querySelector("p").innerHTML+=" "+(new Date).getFullYear()}addCopyrightCurrentDate();
|
||||
@ -1,3 +1,7 @@
|
||||
(function() {
|
||||
addCopyrightCurrentDate();
|
||||
})();
|
||||
|
||||
});
|
||||
function addCopyrightCurrentDate() {
|
||||
document.querySelector('footer').querySelector('p').innerHTML += ' ' + new Date().getFullYear();
|
||||
}
|
||||
@ -48,7 +48,7 @@
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Copyright © Conjure 2019</p>
|
||||
<p>Copyright © Conjure</p>
|
||||
</footer>
|
||||
|
||||
<script type="application/javascript" src="../../public/js/main.min.js"></script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user