mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
changed the date in about:home to update automatically
This commit is contained in:
parent
1109ce4d81
commit
3520bd5975
@ -23,7 +23,7 @@
|
||||
RetroZilla
|
||||
</a>
|
||||
-
|
||||
Copyright 1998-2016,
|
||||
Copyright 1998-<span id="currentYear"></span>,
|
||||
<a href="about:credits" class="rzFooterLink">
|
||||
Contributors
|
||||
</a>
|
||||
|
@ -31,6 +31,10 @@ window.onload = function() {
|
||||
if (aboutHomeAutofocus == true) {
|
||||
autoFocus();
|
||||
}
|
||||
// set current year
|
||||
var d = new Date();
|
||||
var cYear = d.getFullYear();
|
||||
document.getElementById("currentYear").innerHTML = cYear;
|
||||
};
|
||||
|
||||
// function that runs when the "Search" button is clicked
|
||||
|
Loading…
Reference in New Issue
Block a user