Fixed if account_country is disabled

This commit is contained in:
slawkens 2024-05-30 14:25:31 +02:00
parent e9aea17e1b
commit 933b681a9f

View File

@ -3,10 +3,12 @@
var lastSend = 0; var lastSend = 0;
$(function() { $(function() {
updateFlag(); {% if setting('core.account_country') %}
$('#account_country').change(function() {
updateFlag(); updateFlag();
}); $('#account_country').change(function() {
updateFlag();
});
{% endif %}
$('#account_input').blur(function() { $('#account_input').blur(function() {
checkAccount(); checkAccount();