Let Index.update handle its own page functions

This commit is contained in:
Zixaphir 2014-01-11 21:02:56 -07:00
parent 79776710af
commit 43bcc64681
3 changed files with 3 additions and 14 deletions

View File

@ -12145,11 +12145,7 @@
} else { } else {
Navigate.updateBoard(boardID); Navigate.updateBoard(boardID);
} }
if (Conf['Index Mode'] === 'paged' && pageNum) { return Index.update(pageNum);
return Index.update(pageNum);
} else {
return Index.update();
}
} else { } else {
onload = function(e) { onload = function(e) {
return Navigate.load(e); return Navigate.load(e);

View File

@ -12134,11 +12134,7 @@
} else { } else {
Navigate.updateBoard(boardID); Navigate.updateBoard(boardID);
} }
if (Conf['Index Mode'] === 'paged' && pageNum) { return Index.update(pageNum);
return Index.update(pageNum);
} else {
return Index.update();
}
} else { } else {
onload = function(e) { onload = function(e) {
return Navigate.load(e); return Navigate.load(e);

View File

@ -214,10 +214,7 @@ Navigate =
else else
Navigate.updateBoard boardID Navigate.updateBoard boardID
if Conf['Index Mode'] is 'paged' and pageNum Index.update pageNum
Index.update pageNum
else
Index.update()
# Moving from index to thread or thread to thread # Moving from index to thread or thread to thread
else else