diff --git a/webinterface.py b/webinterface.py index abc5cefc..185f9924 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2097,6 +2097,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if ':' not in domain: fullDomain=domain+':'+str(port) + pageNumberParam='' + if pageNumber: + pageNumberParam='?page='+str(pageNumber) + announceStr='' if not isModerationPost and showRepeatIcon: # don't allow announce/repeat of your own posts @@ -2369,10 +2373,6 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ publishedStr=datetimeObject.strftime("%a %b %d, %H:%M") footerStr=''+publishedStr+'\n' - pageNumberParam='' - if pageNumber: - pageNumberParam='?page='+str(pageNumber) - # change the background color for DMs in inbox timeline if showDMicon: containerClassIcons='containericons dm'