search.js: Call .each on the jQuery match rather than $ itself

(imported from commit cff239b483a8ef1a7997a1430f40a7fda11739b1)
This commit is contained in:
Keegan McAllister 2012-10-26 20:16:46 -04:00
parent a0eea37fd4
commit 19d4631e6f
1 changed files with 1 additions and 1 deletions

View File

@ -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;