Skip to content

Commit

Permalink
Fixed if account_country is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed May 30, 2024
1 parent e9aea17 commit 933b681
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions system/templates/account.create.js.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
var lastSend = 0;
$(function() {
updateFlag();
$('#account_country').change(function() {
{% if setting('core.account_country') %}
updateFlag();
});
$('#account_country').change(function() {
updateFlag();
});
{% endif %}
$('#account_input').blur(function() {
checkAccount();
Expand Down

0 comments on commit 933b681

Please sign in to comment.