mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
search.js: Wrap extremely long line
(imported from commit c5b76e2da4ebb8322b5a69bf0679fa7700bb7bd1)
This commit is contained in:
parent
58ca5b3e24
commit
a0eea37fd4
@ -10,7 +10,8 @@ function get_zid_as_int(object) {
|
||||
function match_on_visible_text(row, search_term) {
|
||||
// You can't select on :visible, since that includes hidden elements that
|
||||
// take up space.
|
||||
if (row.find(".message_content, .sender_name, .message_header").text().toLowerCase().indexOf(search_term) !== -1) {
|
||||
if (row.find(".message_content, .sender_name, .message_header")
|
||||
.text().toLowerCase().indexOf(search_term) !== -1) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user