]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/js_strings.tpl
Move $pager and $page_offset out of App
[friendica.git] / view / theme / frio / templates / js_strings.tpl
index c4173197aa0682b3c672e61c9a38c61b0afe7f5b..b649159b9b984e146a5e8cfe06421489039bf273 100644 (file)
@@ -1,5 +1,4 @@
 
-
 {{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
 They are loaded into the html <head> so that js functions can use them *}}
 <script type="text/javascript">
@@ -9,13 +8,4 @@ They are loaded into the html <head> so that js functions can use them *}}
        var aStr = {
                'delitem'     : "{{$delitem}}",
        };
-
-       {{* 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>