diff --git a/system/templates/account.create.js.html.twig b/system/templates/account.create.js.html.twig index 61300039e..8c3534ca4 100644 --- a/system/templates/account.create.js.html.twig +++ b/system/templates/account.create.js.html.twig @@ -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();