friendica_2021-01/view/templates/infinite_scroll_head.tpl

8 lines
264 B
Smarty

<script>
{{* Create an object with the data which is needed for infinite scroll.
For the relevant js part look at function loadContent() in main.js. *}}
var infinite_scroll = {
"pageno" : {{$pageno}},
"reload_uri": "{{$reload_uri nofilter}}"
}
</script>