address Codacy's concern that i is already defined

This commit is contained in:
El RIDO 2019-09-14 09:50:47 +02:00
parent 63426d6f8b
commit 713ce148a4
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 4 additions and 4 deletions

View file

@ -130,8 +130,8 @@ jQuery.Legacy = (function($) {
}
// whitelist localhost for development
for (var i = 0; i < hostname.length; i++) {
if (window.location.hostname === hostname[i]) {
for (var j = 0; j < hostname.length; j++) {
if (window.location.hostname === hostname[j]) {
return true;
}
}