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
|
||||
{% endcall %}
|
||||
<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
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user