mirror of https://github.com/zulip/zulip.git
Enable custom copy handler when selection starts on a stream header
When users select messages starting with stream header we should format the text as using the custom copy handler. (imported from commit 4f9851939484d046619c3e53c71c47ad64797670)
This commit is contained in:
parent
b52749d2ce
commit
80d2ecdd1e
|
@ -135,7 +135,7 @@ function copy_handler(e) {
|
|||
ranges.push(range);
|
||||
|
||||
startc = $(range.startContainer);
|
||||
start_data = find_boundary_tr($(startc.parents('div.selectable_row')[0]), function (row) {
|
||||
start_data = find_boundary_tr($(startc.parents('div.selectable_row, div.recipient_row')[0]), function (row) {
|
||||
return row.next();
|
||||
});
|
||||
if (start_data === undefined) {
|
||||
|
|
Loading…
Reference in New Issue