diff options
| author | 2014-09-17 09:15:19 +0200 | |
|---|---|---|
| committer | 2014-09-17 09:15:19 +0200 | |
| commit | 7d5e57b35b4eca07417c296c156edb3b88eef90b (patch) | |
| tree | 31433821c4109ec0f59bc7d04fff75232a02e633 /app/views/helpers | |
| parent | 1967e289cfd09cdeb0d6beb5a10a3dacbc16a737 (diff) | |
Load $nb/2 articles when articles are unfolded
See https://github.com/marienfressinaud/FreshRSS/issues/559
Diffstat (limited to 'app/views/helpers')
| -rwxr-xr-x | app/views/helpers/pagination.phtml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml index f6fcbc701..1b15cc632 100755 --- a/app/views/helpers/pagination.phtml +++ b/app/views/helpers/pagination.phtml @@ -9,7 +9,10 @@ <ul class="pagination"> <li class="item pager-next"> <?php if (!empty($this->nextId)) { ?> - <?php $params['next'] = $this->nextId; ?> + <?php + $params['next'] = $this->nextId; + $params['ajax'] = 1; + ?> <a id="load_more" href="<?php echo Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)); ?>"> <?php echo _t('load_more'); ?> </a> |
