actually fix the bug this time
Cette révision appartient à :
Parent
4a51fa0231
révision
1186bd61df
1 fichiers modifiés avec 2 ajouts et 4 suppressions
|
@ -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/";
|
||||
}
|
||||
|
||||
|
|
Référencer dans un nouveau ticket