mirror of
https://github.com/friendica/friendica
synced 2024-12-23 22:40:17 +00:00
14237a9599
- Move infinite scroll data output in a module hook - Use Pager instead of paginate() and alt_pager()
8 lines
255 B
Smarty
8 lines
255 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}}"
|
|
}
|
|
</script>
|