mirror of https://github.com/zulip/zulip.git
search.js: Call .each on the jQuery match rather than $ itself
(imported from commit cff239b483a8ef1a7997a1430f40a7fda11739b1)
This commit is contained in:
parent
a0eea37fd4
commit
19d4631e6f
|
@ -34,7 +34,7 @@ function search(term, highlighted_message, reverse) {
|
|||
cached_table = focused_table;
|
||||
var selected_zid = get_zid_as_int(highlighted_message);
|
||||
|
||||
$.each(focused_table.find('.message_row, .recipient_row'), function (index, row) {
|
||||
focused_table.find('.message_row, .recipient_row').each(function (index, row) {
|
||||
row = $(row);
|
||||
if (previous_header_matched || (match_on_visible_text(row, term))) {
|
||||
previous_header_matched = false;
|
||||
|
|
Loading…
Reference in New Issue