Fixes highlight
This commit is contained in:
1 parent
b22e954860
commit
166c49c782
2 files changed
+4
-4
No files matched your search
@@ -56,9 +56,9 @@
|
||||
hits = _.filter(members, function(el) {
|
||||
var matches = re_term.test($(el).text());
|
||||
if(matches) {
|
||||
$(el).parent().addClass('highlight');
|
||||
$(el).parent().parent().addClass('highlight');
|
||||
} else {
|
||||
$(el).parent().removeClass('highlight');
|
||||
$(el).parent().parent().removeClass('highlight');
|
||||
}
|
||||
return matches;
|
||||
});
|
||||
|
||||
+2
-2
@@ -56,9 +56,9 @@
|
||||
hits = _.filter(members, function(el) {
|
||||
var matches = re_term.test($(el).text());
|
||||
if(matches) {
|
||||
$(el).parent().addClass('highlight');
|
||||
$(el).parent().parent().addClass('highlight');
|
||||
} else {
|
||||
$(el).parent().removeClass('highlight');
|
||||
$(el).parent().parent().removeClass('highlight');
|
||||
}
|
||||
return matches;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user