Indefero

Indefero Commit Details


Date:2011-03-03 16:41:56 (13 years 9 months ago)
Author:Thomas Keller
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.1, release-1.2, release-1.3
Commit:177cf836b4bc3688baa5a02261932960fde75a35
Parents: 29d966cdb3178963702a87919ad3e4ae496e510c
Message:Stupid me, the condition needs to work on the count of the children, of course.

Changes:

File differences

www/media/idf/js/wiki-toc.js
55
66
77
8
8
99
1010
1111
.addClass("wiki-" + this.tagName.toLowerCase())
.appendTo('#wiki-toc-content');
});
if ($('#wiki-toc-content').size() < 2)
if ($('#wiki-toc-content *').size() < 2)
$('#wiki-toc').hide();
});

Archive Download the corresponding diff file

Page rendered in 0.09105s using 13 queries.