mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 05:36:58 +03:00
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:
commit
097a654a8d
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user