@@ -22,10 +22,16 @@ function Portal(sites)
22 var site = this.sites[id]
22 var site = this.sites[id]
23 html += `${id}) <a href='${site}'>${site}</a>\n`
23 html += `${id}) <a href='${site}'>${site}</a>\n`
25− html += `\n<a href='#random' onClick="window.location.reload()">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a>`
25+ html += `\n<a href='#random' onClick="portal.reload('random')">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a>`
27 return html
27 return html
30+ this.reload = function()
33+ setTimeout(()=>{ window.location.reload() },500)
30 this.location = function()
36 this.location = function()