Select zephyr rows by class

This fixes the bug where the reply box is hidden when narrowed.

(imported from commit 0673b9063818946b7da70f6109ca17403240737d)
This commit is contained in:
Keegan McAllister 2012-09-12 11:47:56 -04:00
parent 3f42c8422f
commit 714eec5594
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ function get_selected_zephyr_row() {
}
function get_all_zephyr_rows() {
return $('tr');
return $('tr.zephyr_row');
}
function get_next_visible(zephyr_row) {
@ -483,7 +483,7 @@ function add_message(index, zephyr) {
}
zephyr.html_content = newline2br(zephyr.content);
var new_tr = $('<tr />').attr('id', zephyr.id);
var new_tr = $('<tr />').attr('id', zephyr.id).addClass('zephyr_row');
$('#table').append(new_tr);
new_tr.append(ich.zephyr(zephyr));
apply_view(new_tr);