Always show article category headers (do not unlist them on list.js search)
This commit is contained in:
parent
891293af84
commit
6ec81ace18
3 changed files with 6 additions and 6 deletions
|
|
@ -136,9 +136,9 @@ List.prototype.templateEngines.unlist = function(list, settings) {
|
|||
$(item.elm).removeClass('unlisted');
|
||||
};
|
||||
this.hide = function(item) {
|
||||
if (item.elm !== undefined) {
|
||||
$(item.elm).addClass('unlisted');
|
||||
}
|
||||
ensure.created(item);
|
||||
$(item.elm).addClass('unlisted');
|
||||
listSource.appendChild(item.elm);
|
||||
};
|
||||
this.clear = function() {
|
||||
$(listSource.childNodes).addClass('unlisted');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
.list .unlisted {
|
||||
.list .unlisted:not(.no-unlist) {
|
||||
display: none;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue