js: Extract message_edit_history.js.

This commit is contained in:
Sharif Naas
2020-06-06 19:50:31 -07:00
committed by Tim Abbott
parent 4eaa62eaa6
commit b0a0ae215f
9 changed files with 74 additions and 68 deletions

View File

@@ -1020,7 +1020,7 @@ exports.register_click_handlers = function () {
const message_history_cancel_btn = $('#message-history-cancel');
exports.hide_actions_popover();
message_edit.show_history(message);
message_edit_history.show_history(message);
message_history_cancel_btn.focus();
e.stopPropagation();
e.preventDefault();