Only log "needed but not received" if there are any.
This commit is contained in:
parent
cdfa0531a2
commit
33b4799268
1 changed files with 4 additions and 1 deletions
|
@ -220,7 +220,10 @@ function request_more_divs()
|
|||
holder.appendChild(photo_div);
|
||||
}
|
||||
photo_clipboard.apply_check_all();
|
||||
console.log("Needed but not received: " + Array.from(needed));
|
||||
if (needed.size > 0)
|
||||
{
|
||||
console.log("Needed but not received: " + Array.from(needed));
|
||||
}
|
||||
}
|
||||
common.post(url, data, callback);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue