mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
inline commenting - auto scroll to keep new form on screen
This commit is contained in:
parent
0349128be1
commit
cee5c727fd
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
|||
<a href="{{ url_for('post.add_reply', post_id=post_reply.post.id, comment_id=post_reply.id) }}"
|
||||
hx-get="{{ url_for('post.add_reply_inline', post_id=post_reply.post.id, comment_id=post_reply.id) }}"
|
||||
hx-target="#reply_to_{{ post_reply.id }}"
|
||||
hx-swap="innerHTML"
|
||||
hx-swap="innerHTML focus-scroll:true"
|
||||
rel="nofollow noindex"><span class="fe fe-reply"></span> reply</a>
|
||||
{% else -%}
|
||||
<a href="{{ url_for('auth.login', next='/post/' + str(post_reply.post.id)) }}"><span class="fe fe-reply"></span> reply</a>
|
||||
|
|
Loading…
Reference in a new issue