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