fix link rendering
This commit is contained in:
parent
c312a3249e
commit
fd8b6f5e86
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@
|
|||
//['gg6zxtreajiijztyy5g6bt5o6l3qu32nrg7eulyemlhxwwl6enk6ghad.onion/milahu/alchi', 'Mirror'],
|
||||
];
|
||||
var linkOffset = 1; // which link is first in linkList
|
||||
var linkIdx = (Math.floor(page.number / 2) + linkOffset) % linkList.length;
|
||||
var linkIdx = (Math.floor(page.number / 2) - linkOffset) % linkList.length;
|
||||
var link = linkList[linkIdx][0];
|
||||
var desc = linkList[linkIdx][1];
|
||||
var href = `https://${link}`;
|
||||
|
|
Loading…
Reference in a new issue