v1.18.x
Baris Usakli 12 years ago
parent 3747427538
commit 41263f0332

@ -78,7 +78,10 @@
if(data.topics && data.topics.length) {
onTopicsLoaded(data.topics);
$('#topics-container').attr('data-next-start', data.nextStart);
} else {
}
loadingMoreTopics = false;
});
}
@ -92,7 +95,7 @@
});
if($("body").height() <= $(window).height() && $('#topics-container').children().length)
if($("body").height() <= $(window).height() && $('#topics-container').children().length >= 20)
$('#load-more-btn').show();
$('#load-more-btn').on('click', function() {

Loading…
Cancel
Save