mirror of
https://github.com/bigskysoftware/hypermedia-systems.git
synced 2025-11-22 00:12:12 -05:00
Fix html typo in infinite scroll example
This commit is contained in:
parent
ccb3bd3b20
commit
2e5df962ec
@ -1014,11 +1014,11 @@ So let's convert our button to a span and take advantage of this event:
|
||||
{% if contacts|length == 10 %} <1>
|
||||
<tr>
|
||||
<td colspan="5" style="text-align: center">
|
||||
<span>hx-target="closest tr" <1>
|
||||
hx-trigger="revealed" <2>
|
||||
hx-swap="outerHTML"
|
||||
hx-select="tbody > tr"
|
||||
hx-get="/contacts?page={{ page + 1 }}">Loading More...</span>
|
||||
<span hx-target="closest tr" <1>
|
||||
hx-trigger="revealed" <2>
|
||||
hx-swap="outerHTML"
|
||||
hx-select="tbody > tr"
|
||||
hx-get="/contacts?page={{ page + 1 }}">Loading More...</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user