mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +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
|
RetroZilla
|
||||||
</a>
|
</a>
|
||||||
-
|
-
|
||||||
Copyright 1998-2016,
|
Copyright 1998-<span id="currentYear"></span>,
|
||||||
<a href="about:credits" class="rzFooterLink">
|
<a href="about:credits" class="rzFooterLink">
|
||||||
Contributors
|
Contributors
|
||||||
</a>
|
</a>
|
||||||
|
@ -31,6 +31,10 @@ window.onload = function() {
|
|||||||
if (aboutHomeAutofocus == true) {
|
if (aboutHomeAutofocus == true) {
|
||||||
autoFocus();
|
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
|
// function that runs when the "Search" button is clicked
|
||||||
|
Loading…
Reference in New Issue
Block a user