Code clean up: redundant semicolons

Made variable declaration style in for loops consistent
This commit is contained in:
2022-08-17 16:34:59 +01:00
parent 02290e968c
commit b15f76701e
5 changed files with 458 additions and 453 deletions

View File

@ -57,7 +57,7 @@ function error_response(response) {
`);
} else if (response.responseJSON.error instanceof Array) {
var output = ''
for (var i = 0; i < response.responseJSON.error.length; i ++) {
for (let i = 0; i < response.responseJSON.error.length; i ++) {
output += `
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<i class="bi bi-exclamation-triangle-fill" title="Danger"></i>