diff --git a/index.html b/index.html index d27ec7e..e4a66ff 100644 --- a/index.html +++ b/index.html @@ -3,10 +3,7 @@ - - - - + Webring @@ -19,5 +16,10 @@ var portal = new Portal(sites); portal.start(); + diff --git a/scripts/portal.js b/portal.js similarity index 86% rename from scripts/portal.js rename to portal.js index 22251c9..7b560f9 100644 --- a/scripts/portal.js +++ b/portal.js @@ -22,10 +22,16 @@ function Portal(sites) var site = this.sites[id] html += `${id}) ${site}\n` } - html += `\nRandom | Information` + html += `\nRandom | Information` return html } + + this.reload = function() + { + console.log("!!") + setTimeout(()=>{ window.location.reload() },500) + } this.location = function() {