diff --git a/webinterface.py b/webinterface.py index c316fe1d..f45a9997 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2559,7 +2559,6 @@ def htmlTimeline(translate: {},pageNumber: int, \ for item in timelineJson['orderedItems']: if item['type']=='Create' or item['type']=='Announce': #avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache) - itemCtr+=1 currTlStr= \ individualPostAsHtml(iconsDir,translate,pageNumber, \ baseDir,session,wfRequest,personCache, \ @@ -2571,12 +2570,13 @@ def htmlTimeline(translate: {},pageNumber: int, \ manuallyApproveFollowers,False,True) if currTlStr: + itemCtr+=1 tlStr+=currTlStr if boxName=='tlmedia': tlStr+='\n' # page down arrow - if itemCtr>1: + if itemCtr>int(itemsPerPage/2): tlStr+='