Fix completion checking

This commit is contained in:
Shadowfacts 2016-09-29 11:34:26 -04:00
parent 3e7c2d2d3a
commit 64da38254d
No known key found for this signature in database
GPG Key ID: A7A3BA2CFC135F32
1 changed files with 5 additions and 3 deletions

View File

@ -145,9 +145,11 @@ function isComplete() {
for (var i = 0; i < invalids.length; i++) {
let arr = invalids[i];
for (var j = 0; j < arr.length; j++) {
if (arr[j]) {
return false;
if (arr) {
for (var j = 0; j < arr.length; j++) {
if (arr[j]) {
return false;
}
}
}
}