Bold @-mentions link when you click on it.

This fix also cleans up the search operators so that @-mentions
and Private messages have a more similar naming convention.

(imported from commit fb1a2119aab5aa9e179c6e321a8d2ef2e90290cf)
This commit is contained in:
Steve Howell
2013-07-08 21:24:01 -04:00
parent 58e57d7462
commit f87b27a9c3
4 changed files with 6 additions and 6 deletions

View File

@@ -274,7 +274,7 @@ $(function () {
}
var op_is = event.filter.operands('is');
if (op_is.length !== 0) {
if (['private-message', 'starred', 'mentioned'].indexOf(op_is[0]) !== -1) {
if (['private-message', 'starred', 'mentioned-message'].indexOf(op_is[0]) !== -1) {
$("#global_filters li[data-name='" + op_is[0] + "']").addClass('active-filter');
}
}