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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user