mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Add expectOne() check when clicking to expand/collapse
(imported from commit 7224f618f49de82bd41a5a1f4b0677cf490b5856)
This commit is contained in:
parent
4bec9dced9
commit
fcc268b44f
@ -1012,11 +1012,11 @@ $(function () {
|
||||
|
||||
if (feature_flags.summarize_read_while_narrowed) {
|
||||
$("#main_div").on("click", ".summary_row .icon-vector-expand-alt", function (e) {
|
||||
exports.expand_summary_row($(e.target).closest('.summary_row'));
|
||||
exports.expand_summary_row($(e.target).closest('.summary_row').expectOne());
|
||||
e.stopImmediatePropagation();
|
||||
});
|
||||
$("#main_div").on("click", ".recipient_row .icon-vector-collapse-alt", function (e) {
|
||||
exports.collapse_recipient_group($(e.target).closest('.recipient_row'));
|
||||
exports.collapse_recipient_group($(e.target).closest('.recipient_row').expectOne());
|
||||
e.stopImmediatePropagation();
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user