mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 04:42:35 +01:00
Merge pull request 'Fix next page bug if NSFW is turned on' (#154) from StevenNMeza/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/154
This commit is contained in:
commit
b2ec5efcc8
@ -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