diff --git a/app/static/js/script.js b/app/static/js/script.js index c596ba04..8751cf29 100644 --- a/app/static/js/script.js +++ b/app/static/js/script.js @@ -12,7 +12,7 @@ function ValidateIPaddress(ipaddress) { } var select_server = translate_div.attr('data-select_server'); function checkIsServerFiled(select_id, message = select_server) { - if ($(select_id).val() == null || $(select_id).val() == '') { + if ($(select_id).val() == null || $(select_id).val() === '') { toastr.warning(message); return false; } diff --git a/app/templates/admin.html b/app/templates/admin.html index 0f7c90c3..a8480330 100644 --- a/app/templates/admin.html +++ b/app/templates/admin.html @@ -183,5 +183,4 @@ {% if g.user_params['role'] != 1 %} {% endif %} -{% include 'include/intro/js_script.html' %} {% endblock %}