diff --git a/app/extensions/recesso-storefront/blocks/withdrawal_embed.liquid b/app/extensions/recesso-storefront/blocks/withdrawal_embed.liquid index 98bb4e7..afa7296 100644 --- a/app/extensions/recesso-storefront/blocks/withdrawal_embed.liquid +++ b/app/extensions/recesso-storefront/blocks/withdrawal_embed.liquid @@ -7,7 +7,7 @@ {%- endcomment -%} {{ 'recesso-storefront.css' | asset_url | stylesheet_tag }} -{{ 'recesso-storefront.js' | asset_url | script_tag }} + {% if block.settings.show_link %}
diff --git a/app/extensions/recesso-storefront/blocks/withdrawal_link.liquid b/app/extensions/recesso-storefront/blocks/withdrawal_link.liquid index f592b18..16d44e4 100644 --- a/app/extensions/recesso-storefront/blocks/withdrawal_link.liquid +++ b/app/extensions/recesso-storefront/blocks/withdrawal_link.liquid @@ -9,7 +9,7 @@ {%- assign rc_label = block.settings.label | default: 'Recedere dal contratto qui' -%} {{ 'recesso-storefront.css' | asset_url | stylesheet_tag }} -{% if block.settings.use_modal %}{{ 'recesso-storefront.js' | asset_url | script_tag }}{% endif %} +{% if block.settings.use_modal %}{% endif %}