From 4490dffda63caacb8393590966053caaf72c8b44 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 17 May 2018 11:36:32 +1200 Subject: [PATCH] Minor cleanup --- index.html | 10 ++++++---- scripts/portal.js => portal.js | 8 +++++++- 2 files changed, 13 insertions(+), 5 deletions(-) rename scripts/portal.js => portal.js (86%) 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() {