diff --git a/index.html b/index.html index fb2b322..54ae54d 100644 --- a/index.html +++ b/index.html @@ -54,13 +54,15 @@ diff --git a/portal.js b/portal.js index c40112e..70bf294 100644 --- a/portal.js +++ b/portal.js @@ -22,7 +22,7 @@ function Portal(sites) var site = this.sites[id] html += `${id}) ${site.split("//")[1]}` } - return `${html}\nRandom | Information` + return `${html}\nRandom | Information ` } this.reload = function() @@ -69,10 +69,6 @@ function Portal(sites) var location = this.locate(); var target = this.next(location); this.navigate(target) - - var html = "" - - html = `

Redirecting to ${target}

Directory | Skip | Random | Information` - return html + return `

Redirecting to ${target}

Directory | Skip | Random | Information ` } }