mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 06:49:26 +01:00
Fix next page bug if NSFW is turned on
This commit is contained in:
parent
12a4de42cf
commit
36b7bb80f0
@ -151,7 +151,7 @@ html
|
||||
if json.before || json.after
|
||||
.view-more-links
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user