mirror of
https://github.com/ilyakooo0/webring.git
synced 2024-11-26 08:46:03 +03:00
Merge pull request #44 from 0101solar/patch-2
Fixed the directory randomizing bug. (i think)
This commit is contained in:
commit
1cdd4d9ecc
@ -69,6 +69,6 @@ function Portal(sites)
|
||||
var location = this.locate();
|
||||
var target = this.next(location);
|
||||
this.navigate(target)
|
||||
return `<p>Redirecting to <b>${target}</b></p><meta http-equiv="refresh" content="3; url=${target}"><a href='' onClick="window.location.reload()">Directory</a> | <a href='#${target}' onClick="portal.reload('random')">Skip</a> | <a href='#random' onClick="portal.reload('random')">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a> <a id='icon' href='#random' onClick="portal.reload('random')"></a>`
|
||||
return `<p>Redirecting to <b>${target}</b></p><meta http-equiv="refresh" content="3; url=${target}"><a href='#'>Directory</a> | <a href='#${target}' onClick="portal.reload('random')">Skip</a> | <a href='#random' onClick="portal.reload('random')">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a> <a id='icon' href='#random' onClick="portal.reload('random')"></a>`
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user