Merge pull request #3239 from wwwtony5488/fix/defer-loading-of-jquery

Wrap jQuery call in `DOMContentLoaded` event listener on account email page
This commit is contained in:
Bruno Alla 2021-06-25 09:44:48 +02:00 committed by GitHub
commit 097a654a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,9 @@ window.addEventListener('DOMContentLoaded',function() {
} }
}); });
$('.form-group').removeClass('row'); document.addEventListener('DOMContentLoaded', function() {
$('.form-group').removeClass('row');
})
</script> </script>
{% endblock %} {% endblock %}
{%- endraw %} {%- endraw %}