mirror of
https://github.com/osmarks/website
synced 2024-12-24 00:50:31 +00:00
Fix links
This commit is contained in:
parent
d7b33c2753
commit
abd5ae9ecf
@ -111,10 +111,10 @@ url: /infipage/p
|
|||||||
var canonical = encodeBignum(page)
|
var canonical = encodeBignum(page)
|
||||||
if (canonical !== afterSlash) {
|
if (canonical !== afterSlash) {
|
||||||
console.log(canonical, afterSlash, "Mismatch!")
|
console.log(canonical, afterSlash, "Mismatch!")
|
||||||
window.location.href = `/infipage/${canonical}`
|
window.location.href = "/infipage/" + canonical
|
||||||
}
|
}
|
||||||
prev.href = encodeBignum(page.minus(1))
|
prev.href = "/infipage/" + encodeBignum(page.minus(1))
|
||||||
next.href = encodeBignum(page.plus(1))
|
next.href = "/infipage/" + encodeBignum(page.plus(1))
|
||||||
pagecount.innerText = "Page " + pageString
|
pagecount.innerText = "Page " + pageString
|
||||||
}
|
}
|
||||||
loadPage()
|
loadPage()
|
||||||
|
Loading…
Reference in New Issue
Block a user