mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
address Codacy's concern that i is already defined
This commit is contained in:
parent
63426d6f8b
commit
713ce148a4
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue