diff --git a/zephyr/static/js/search.js b/zephyr/static/js/search.js index 4466a6fdf0..4f6133f8b7 100644 --- a/zephyr/static/js/search.js +++ b/zephyr/static/js/search.js @@ -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;