From 8812d4b326967e49b57bfb46e6a98e92dd51f1e7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 12 Apr 2014 17:56:44 -0700 Subject: [PATCH] post building should not depend on JSON navigation --- src/General/Build.coffee | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/General/Build.coffee b/src/General/Build.coffee index 9aba0cff7..b8684853f 100755 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -181,12 +181,16 @@ Build = else '' - if isOP and g.VIEW is 'index' + if isOP and g.VIEW is 'index' and Conf['JSON Navigation'] pageNum = Math.floor Index.liveThreadIDs.indexOf(postID) / Index.threadsNumPerPage pageIcon = " [#{pageNum}]" + else + pageIcon = '' + + if isOP and g.VIEW is 'index' replyLink = "   [Reply]" else - pageIcon = replyLink = '' + replyLink = '' container = $.el 'div', id: "pc#{postID}"