summaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-17 09:15:19 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-17 09:15:19 +0200
commit7d5e57b35b4eca07417c296c156edb3b88eef90b (patch)
tree31433821c4109ec0f59bc7d04fff75232a02e633 /app/layout/layout.phtml
parent1967e289cfd09cdeb0d6beb5a10a3dacbc16a737 (diff)
Load $nb/2 articles when articles are unfolded
See https://github.com/marienfressinaud/FreshRSS/issues/559
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 96a88d245..f95f45b5e 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -13,6 +13,7 @@
if (!empty($this->nextId)) {
$params = Minz_Request::params();
$params['next'] = $this->nextId;
+ $params['ajax'] = 1;
?>
<link id="prefetch" rel="next prefetch" href="<?php echo Minz_Url::display(array('c' => Minz_Request::controllerName(), 'a' => Minz_Request::actionName(), 'params' => $params)); ?>" />
<?php } ?>