assets/themes/j1/adapter/js/dropdowns.js in j1-template-2022.4.9 vs assets/themes/j1/adapter/js/dropdowns.js in j1-template-2022.4.10
- old
+ new
@@ -46,9 +46,11 @@
{% comment %} Set config options
-------------------------------------------------------------------------------- {% endcomment %}
{% assign dropdowns_options = dropdowns_defaults | merge: dropdowns_settings %}
+{% comment %} Detect prod mode
+-------------------------------------------------------------------------------- {% endcomment %}
{% assign production = false %}
{% if environment == 'prod' or environment == 'production' %}
{% assign production = true %}
{% endif %}