JS oopsie
This commit is contained in:
parent
68ca55cd48
commit
f3cbde885f
|
@ -35,10 +35,10 @@
|
|||
<br><br><br>
|
||||
</div>
|
||||
<script>
|
||||
var CurrentAgeText = document.getElementById("CurrentAge").innerHTML;
|
||||
const CurrentAgeElem = document.getElementById("CurrentAge");
|
||||
const CurrentAgeRefresh = 50;
|
||||
setInterval(
|
||||
function() {CurrentAgeText = "Currently " + UnixToYears() + ".."},
|
||||
function() {CurrentAgeElem.innerHTML = "Currently " + UnixToYears() + ".."},
|
||||
CurrentAgeRefresh);
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue