mirror of https://github.com/zulip/zulip.git
Fix the copy-paste code copying too few or too many messages
(imported from commit 2e379618b29cd5c8b168e3f4bdbaa278c5247462)
This commit is contained in:
parent
296d7d89a3
commit
6e4093a0a5
|
@ -113,7 +113,7 @@ $(document).bind('copy', function (e) {
|
|||
}
|
||||
|
||||
// Construct a div for what we want to copy (div)
|
||||
row = current_msg_list.selected_row();
|
||||
row = rows.get(startid, current_msg_list.table_name);
|
||||
for (0 /* for linter */; rows.id(row) <= endid; row = rows.next_visible(row)) {
|
||||
if (row.prev().hasClass("recipient_row")) {
|
||||
div.append(p);
|
||||
|
|
Loading…
Reference in New Issue