a bit of cleanup on directory autoscroll

This commit is contained in:
friendica
2014-08-05 21:57:46 -07:00
parent dc98e6c0e9
commit 74377bd4b4
2 changed files with 15 additions and 4 deletions

View File

@@ -408,6 +408,12 @@
function updatePageItems(mode,data) {
var e = data.getElementById('content-complete');
if(e) {
pageHasMoreContent = false;
}
if(mode === 'append') {
$(data).each(function() {
$('#page-end').before($(this));