From 6057b39b125f291c81e154c77a14d340a4fa7517 Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Fri, 7 Jun 2019 22:57:50 -0700 Subject: don't show more links when search completes --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 7418c15..84fcf35 100644 --- a/index.php +++ b/index.php @@ -109,7 +109,7 @@ li:target { $depth = 0; $count = 0; $anchor = ''; - find_expr($selected_index, $q, function($score, $text) use (&$depth, &$count, &$anchor, $more, $max_more) { + $retval = find_expr($selected_index, $q, function($score, $text) use (&$depth, &$count, &$anchor, $more, $max_more) { if ($score == '#') { $depth++; if ($depth == $more) { @@ -131,7 +131,7 @@ li:target { class="more" href="? index_name($selected_index), -- cgit v1.2.3