Add data-hx-disable to orders link to prevent htmx interception

The orders link navigates cross-domain (cart subdomain from coop) and
htmx 2.0 selfRequestsOnly blocks cross-origin requests. Explicitly
disable htmx on this link so the browser does a normal navigation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-18 19:30:45 +00:00
parent 526d4f6e1b
commit da10fc4cf9

View File

@@ -3,7 +3,7 @@
newsletters newsletters
{% endcall %} {% endcall %}
<div class="relative nav-group"> <div class="relative nav-group">
<a href="{{ cart_url('/orders/') }}" class="{{styles.nav_button}}"> <a href="{{ cart_url('/orders/') }}" class="{{styles.nav_button}}" data-hx-disable>
orders orders
</a> </a>
</div> </div>