diff options
author | marijus <mario@mariovavti.com> | 2014-09-12 21:04:43 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-12 21:04:43 +0200 |
commit | bd2139d16addf42b33f5f5cf90516022273bc8b6 (patch) | |
tree | 8c8f481f4e5ebdfc87592ae9d3adb9490d1b72b6 /mod/photos.php | |
parent | 59c537b06dbd905a4cc73b82d509c4cb0854fc05 (diff) | |
download | volse-hubzilla-bd2139d16addf42b33f5f5cf90516022273bc8b6.tar.gz volse-hubzilla-bd2139d16addf42b33f5f5cf90516022273bc8b6.tar.bz2 volse-hubzilla-bd2139d16addf42b33f5f5cf90516022273bc8b6.zip |
do not load next page if justifiedGallery() is not ready yet
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php index f2df894c0..c11d04192 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -635,7 +635,7 @@ function photos_content(&$a) { ); if(count($r)) { $a->set_pager_total(count($r)); - $a->set_pager_itemspage(60); + $a->set_pager_itemspage(5); } if($_GET['order'] === 'posted') @@ -1168,7 +1168,7 @@ function photos_content(&$a) { ); if(count($r)) { $a->set_pager_total(count($r)); - $a->set_pager_itemspage(60); + $a->set_pager_itemspage(5); } $r = q("SELECT `resource_id`, `id`, `filename`, type, `album`, max(`scale`) AS `scale` FROM `photo` |