Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

actually fix the bug this time

Cette révision appartient à :
Eliot Whalan 2017-05-02 22:38:07 +10:00
Parent 90cd55e061
révision daf5000507

Voir le fichier

@ -95,6 +95,7 @@
var query = window.location.search;
var page = parseInt(pathArray[2]);
var pageString;
pageString = "/page/";
var next = page+1;
var prev = page-1
@ -102,15 +103,12 @@
prev = 1;
}
if (!isNaN(page)) {
if (isNaN(page)) {
next = 2;
prev = 1;
pageString = "/page/";
}
if (query != "") {
next = 2;
prev = 1;
pageString = "/search/";
}