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.