Fix the dropdown filtering so it actually ignores the unread messages count.

This commit is contained in:
Ibrahim Awwal
2012-08-31 17:15:31 -07:00
parent f6ee08271d
commit 4ce4c0c444

View File

@@ -84,7 +84,7 @@ function filterDrop(e) {
$items.hide();
$items.each(function(i) {
var thisText = $(this).not('.urnread').text();
var thisText = $(this).children().not('.unread').text();
$(this).parents('ul').siblings('a').not('.unread').each(function(i) {
thisText = thisText + ' ' + $(this).text();
});