pseudoscience

tech: pseudoscience - renewing power up choices costs no research, but adds 1-5 JUNK to the potential tech pool

>update text now shows the last 20 updates and has a scroll bar
This commit is contained in:
landgreen
2021-07-01 07:41:16 -07:00
parent a2b56d1f7e
commit 8b73c9ffc4
8 changed files with 69 additions and 68 deletions

View File

@@ -1152,7 +1152,7 @@ document.getElementById("updates").addEventListener("toggle", function() {
loadJSON('https://api.github.com/repos/landgreen/n-gon/commits',
function(data) {
// console.log(data)
for (let i = 0, len = 3; i < len; i++) {
for (let i = 0, len = 20; i < len; i++) {
text += "<strong>" + data[i].commit.author.date.substr(0, 10) + "</strong> - "; //+ "<br>"
text += data[i].commit.message
if (i < len - 1) text += "<hr>"