diff --git a/404.html b/404.html index 06ad764..d3922ae 100644 --- a/404.html +++ b/404.html @@ -9,8 +9,8 @@ permalink: /404.html
diff --git a/index.html b/index.html index addb9bb..1a394ed 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ diff --git a/scripts/portal.js b/scripts/portal.js index 9dde826..f607856 100644 --- a/scripts/portal.js +++ b/scripts/portal.js @@ -1,3 +1,5 @@ +'use strict'; + function Portal(sites) { this.el = document.createElement("div"); @@ -26,10 +28,10 @@ function Portal(sites) this.directory = function() { - var html = "" + let html = "" - for(var id in this.sites){ - var site = this.sites[id] + for(let id in this.sites){ + let site = this.sites[id] html += `Redirecting to ${target}
`