mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
edit: Hide emoji reactions when in message edit or view source mode.
This also entails displaying them when the editing mode ends. Fixes #3870.
This commit is contained in:
committed by
Tim Abbott
parent
dd52291fa5
commit
e3fa42f833
@@ -156,6 +156,7 @@ function timer_text(seconds_left) {
|
||||
}
|
||||
|
||||
function edit_message(row, raw_content) {
|
||||
row.find(".message_reactions").hide();
|
||||
var content_top = row.find('.message_content')[0]
|
||||
.getBoundingClientRect().top;
|
||||
|
||||
@@ -354,6 +355,7 @@ exports.end = function (row) {
|
||||
if (row !== undefined) {
|
||||
current_msg_list.hide_edit_topic(row);
|
||||
}
|
||||
row.find(".message_reactions").show();
|
||||
};
|
||||
|
||||
exports.maybe_show_edit = function (row, id) {
|
||||
|
||||
Reference in New Issue
Block a user