Skip to content

Commit

Permalink
Fully remove updateNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jurriaan committed Jun 8, 2024
1 parent e4021dd commit 9ff4880
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 id="node-header">Nodes</h1>

<button class="about" _="on click showModal() on #about">About Meshstellar</button>
</div>
<ol class="node-list" sse-swap="update-node" hx-swap="afterbegin" _="on htmx:afterSwap debounced at 100ms updateNodes()">
<ol class="node-list" sse-swap="update-node" hx-swap="afterbegin">
</ol>
</section>

Expand All @@ -43,7 +43,6 @@ <h1>Packets</h1>
<ol class="packet-list" sse-swap="mesh-packet,text-message" hx-swap="afterbegin" _="
on htmx:afterSwap debounced at 100ms
remove <li:nth-child(n+100) /> from me
updateNodes()
">
</ol>
</section>
Expand All @@ -54,7 +53,6 @@ <h1>Messages</h1>
<ol class="packet-list" sse-swap="text-message" hx-swap="afterbegin" _="
on htmx:afterSwap debounced at 100ms
remove <li:nth-child(n+100) /> from me
updateNodes()
">
</ol>
</section>
Expand All @@ -71,7 +69,6 @@ <h1>Messages</h1>
on htmx:afterSwap debounced at 50ms
hide #sidebar-main
show #sidebar-details
updateNodes()
">
</div>
</aside>
Expand Down

0 comments on commit 9ff4880

Please sign in to comment.