custom/plugins/HelmaTheme/src/Resources/views/storefront/BLB/Header_blb_button.html.twig line 1

Open in your IDE?
  1. {% block Header_blb_button %}
  2.   {% if    context.customer.customFields.custom_user_set_blb_version is not null      
  3.             and context.customer.customFields.custom_user_set_blb_version is defined %}
  4.     <script>
  5.       document.addEventListener("DOMContentLoaded", function(){ var elements =
  6.       document.getElementsByClassName('btn-blb-pop'); if(elements.length > 0){
  7.       [].forEach.call(elements, function(el) { el.classList.remove("disabled");
  8.       }); } });
  9.     </script>
  10.     <input type="hidden"
  11.       id="blb_version"
  12.       name="blb_version"
  13.       value="{{ context.customer.customFields.custom_user_set_blb_version }}" />
  14.   {% endif %}
  15. {% endblock %}