mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:50:11 +00:00
Only auto update when there is content
This commit is contained in:
parent
74305b3dc8
commit
1fc36c4470
8 changed files with 20 additions and 19 deletions
|
@ -620,6 +620,12 @@ function liveUpdate(src) {
|
|||
in_progress = false;
|
||||
update_item = 0;
|
||||
|
||||
if (data.length < 100) {
|
||||
// console.log('No data ' + data.length + ':' + data);
|
||||
return;
|
||||
}
|
||||
// console.log('Got data: ' + data.length + ':' + data);
|
||||
|
||||
$('.wall-item-body', data).imagesLoaded(function() {
|
||||
updateConvItems(data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue