allow multiple classes
This commit is contained in:
parent
7535eade16
commit
6fc4fc9423
@ -166,7 +166,7 @@ filterAll: ->
|
||||
for table in tables
|
||||
for filter of compiled
|
||||
if filterSingle(table, compiled[filter])
|
||||
table.className: filter
|
||||
table.className+= ' ' + filter
|
||||
|
||||
imagesCount: $$('img[md5]').length
|
||||
box.firstChild.textContent: "Images: $imagesCount Replies: ${tables.length}"
|
||||
|
||||
@ -201,7 +201,7 @@ display: none; \
|
||||
table = _d[_c];
|
||||
_f = compiled;
|
||||
for (filter in _f) { if (__hasProp.call(_f, filter)) {
|
||||
filterSingle(table, compiled[filter]) ? (table.className = filter) : null;
|
||||
filterSingle(table, compiled[filter]) ? table.className += ' ' + filter : null;
|
||||
}}
|
||||
}
|
||||
imagesCount = $$('img[md5]').length;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user