Changeset 9b3e12c in Klonkt for src/middleware

Timestamp:
06/19/2026 07:28:25 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
70679063
Parents:
e9cfa3c
Message:

fix: post URL now updates in the address bar — htmx:beforeRequest instead of beforeSwap

In htmx:beforeSwap, detail.elt is the swap TARGET (#pcms-main), not the clicked link,
so hx-push-url was never found. Now using htmx:beforeRequest (detail.elt = the link)
+ closest('[hx-push-url]') for the pushState.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.