mirror of https://github.com/zulip/zulip.git
Correctly highlight Topics With Caps when narrowed
(imported from commit d3ec5b246c2e6624cf9ff5359f54f9127fbd8483)
This commit is contained in:
parent
666ce4333e
commit
f4e9a16989
|
@ -55,7 +55,7 @@ exports.sort_narrow_list = function () {
|
|||
function iterate_to_find(selector, name_to_find, context) {
|
||||
var lowercase_name = name_to_find.toLowerCase();
|
||||
var found = _.find($(selector, context), function (elem) {
|
||||
return $(elem).attr('data-name') === lowercase_name;
|
||||
return $(elem).attr('data-name').toLowerCase() === lowercase_name;
|
||||
});
|
||||
return found ? $(found) : $();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue