diff --git a/index.html b/index.html
index 3b644e0e..5751191e 100644
--- a/index.html
+++ b/index.html
@@ -2036,8 +2036,8 @@
// which don't satisfy the condition.
if (instance.props.filterFunc && instance.props.filter) {
var content = [key];
- if (c.private) {
- content.push(("" + c.private).toLowerCase());
+ if (c.private && c.private.comment) {
+ content.push(("" + c.private.comment).toLowerCase());
}
if (c.public && c.public.fn) {
content.push(("" + c.public.fn).toLowerCase());
@@ -2059,7 +2059,8 @@
badges.push({name: 'owner'});
}
}
- var comment = Array.isArray(c.private) ? c.private.join(", ") : c.private;
+ var comment = Array.isArray(c.private) ?
+ c.private.join(", ") : (c.private ? c.private.comment : null);
contactNodes.push(