allow multiple classes

This commit is contained in:
James Campos 2010-04-28 02:35:08 -07:00
parent 7535eade16
commit 6fc4fc9423
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

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