From 95def2a247eca54a52744e405e837d5810cca83d Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 28 Aug 2014 19:05:13 -0700 Subject: retro-actively set standalone directory fix, also a fix for directory endless scroll when you hit the end. --- mod/directory.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/directory.php') diff --git a/mod/directory.php b/mod/directory.php index 8dbed4115..39eeb36ce 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -233,6 +233,11 @@ function directory_content(&$a) { } else { + if($_REQUEST['aj']) { + $o = '
'; + echo $o; + killme(); + } if($a->pager['page'] == 1 && $j['records'] == 0 && strpos($search,'@')) { goaway(z_root() . '/chanview/?f=&address=' . $search); } -- cgit v1.2.3