summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/map.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm
index c65e61ac9..f2e8722c8 100644
--- a/IkiWiki/Plugin/map.pm
+++ b/IkiWiki/Plugin/map.pm
@@ -37,7 +37,6 @@ sub preprocess (@) { #{{{
my $map = "<div class='map'>\n";
foreach my $item (sort @mapitems) {
my $depth = ($item =~ tr/\//\//) + 1;
- next if exists $params{maxdepth} && $depth > $params{maxdepth};
while ($depth < $indent) {
$indent--;
$map.="</ul>\n";