intersect once instead of revealed #394

This commit is contained in:
rimu 2024-12-22 16:01:58 +13:00
parent 42ffe009dc
commit 704c41a25f
3 changed files with 3 additions and 3 deletions

View file

@ -188,7 +188,7 @@
<ul class="dropdown-menu" style="width: 320px">
<div
hx-get="{{ url_for('post.post_options', post_id=post.id) }}"
hx-trigger="revealed"
hx-trigger="intersect once"
hx-target="this"
hx-swap="outerHTML"
></div>

View file

@ -105,7 +105,7 @@
<ul class="dropdown-menu" style="width: 320px">
<div
hx-get="{{ url_for('post.post_reply_options', post_id=post_reply.post.id, comment_id=post_reply.id) }}"
hx-trigger="revealed"
hx-trigger="intersect once"
hx-target="this"
hx-swap="outerHTML"
></div>

View file

@ -27,7 +27,7 @@
<ul class="dropdown-menu" style="width: 320px">
<div
hx-get="{{ url_for('post.post_options', post_id=post.id) }}"
hx-trigger="revealed"
hx-trigger="intersect once"
hx-target="this"
hx-swap="outerHTML"
></div>