Always show article category headers (do not unlist them on list.js search)

This commit is contained in:
Julius 2013-09-22 22:04:29 +02:00
parent 891293af84
commit 6ec81ace18
3 changed files with 6 additions and 6 deletions

View file

@ -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');

View file

@ -1,3 +1,3 @@
.list .unlisted {
.list .unlisted:not(.no-unlist) {
display: none;
}