infinite scroll: include updated code from friendica develop branch

This commit is contained in:
rabuzarus 2016-05-12 20:30:08 +02:00
parent 12cf9c2914
commit 8384ba833a

View file

@ -10,4 +10,13 @@ They are loaded into the html <head> so that js functions can use them *}}
'delitem' : "{{$delitem}}",
'comment' : "{{$comment}}"
};
{{* Create an object with the data which is needed for infinite scroll.
For the relevant js part look at function loadContent() in main.js. *}}
{{if $infinite_scroll}}
var infinite_scroll = {
'pageno' : {{$infinite_scroll.pageno}},
'reload_uri' : "{{$infinite_scroll.reload_uri}}"
}
{{/if}}
</script>