Yet more misc fixes

This commit is contained in:
Shadowfacts 2016-10-01 18:25:28 -04:00
parent a15d47d4e5
commit f9e306b891
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,9 @@ function isComplete() {
let arr = invalids[i];
if (arr) {
for (var j = 0; j < arr.length; j++) {
if (arr[j]) {
// invalid marks are sometimes cleared but not removed
// this can be checked by checking mark.lines.length != 0
if (arr[j] && arr[j].lines.length != 0) {
return false;
}
}