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
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;
}
}