message_list: More descriptive names for {show,hide}_topic_edit.

Clarify that the functions show and hide the topic edit in the recipient
row, and do not apply to the message edit rows.
This commit is contained in:
Puneeth Chaganti
2020-04-05 23:31:55 +05:30
committed by Tim Abbott
parent cd64d2dd27
commit 6f2d0c0288
3 changed files with 5 additions and 5 deletions

View File

@@ -309,7 +309,7 @@ exports.initialize = function () {
});
$("body").on("click", ".topic_edit_cancel", function (e) {
const recipient_row = $(this).closest(".recipient_row");
current_msg_list.hide_edit_topic(recipient_row);
current_msg_list.hide_edit_topic_on_recipient_row(recipient_row);
e.stopPropagation();
popovers.hide_all();
});