Update public/index.html

This commit is contained in:
Octo Andri
2022-04-17 17:25:40 +00:00
parent c9ad067ef9
commit 68ca55cd48

View File

@@ -35,10 +35,10 @@
<br><br><br> <br><br><br>
</div> </div>
<script> <script>
var CurrentAgeText = document.getElementById("CurrentAge").textContent; var CurrentAgeText = document.getElementById("CurrentAge").innerHTML;
const CurrentAgeRefresh = 50; const CurrentAgeRefresh = 50;
setInterval( setInterval(
function() {CurrentAgeText = "Currently" + UnixToYears() + ".."}, function() {CurrentAgeText = "Currently " + UnixToYears() + ".."},
CurrentAgeRefresh); CurrentAgeRefresh);
</script> </script>
</body> </body>