infinite scroll: include updated code from friendica develop branch
This commit is contained in:
parent
12cf9c2914
commit
8384ba833a
1 changed files with 9 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue