Fix next page bug if NSFW is turned on

This commit is contained in:
StevenNMeza 2021-02-23 15:55:59 +01:00
parent 12a4de42cf
commit 36b7bb80f0

View File

@ -151,7 +151,7 @@ html
if json.before || json.after if json.before || json.after
.view-more-links .view-more-links
if json.before && !subreddit_front if json.before && !subreddit_front
a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&before=" + json.before + "") prev a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&nsfw=" + nsfw + "&before=" + json.before + "") prev
if json.after if json.after
a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&after=" + json.after + "") next a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&nsfw=" + nsfw + "&after=" + json.after + "") next
include includes/footer.pug include includes/footer.pug