fixing the call on js function

This commit is contained in:
Julien Fastré 2016-09-02 08:26:18 +02:00
parent affeae238c
commit 9100bb14b3

View File

@ -76,7 +76,9 @@
});
}
jQuery(document).ready(initializeCFChoiceOptionsChoices('{{ form.vars.id }}'));
document.addEventListener('DOMContentLoaded', function(event) {
jQuery(document).ready(initializeCFChoiceOptionsChoices('{{ form.vars.id }}'));
});
</script>
{% endblock cf_choices_row %}