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,8 +220,11 @@ function request_more_divs()
|
||||||
holder.appendChild(photo_div);
|
holder.appendChild(photo_div);
|
||||||
}
|
}
|
||||||
photo_clipboard.apply_check_all();
|
photo_clipboard.apply_check_all();
|
||||||
|
if (needed.size > 0)
|
||||||
|
{
|
||||||
console.log("Needed but not received: " + Array.from(needed));
|
console.log("Needed but not received: " + Array.from(needed));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
common.post(url, data, callback);
|
common.post(url, data, callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue