message_edit_history: Remove popovers.hide_all in click event.

This commit is contained in:
Aman Agrawal 2023-10-03 10:58:48 +00:00 committed by Tim Abbott
parent cbef6f79a5
commit aae09ed6b7
1 changed files with 0 additions and 2 deletions

View File

@ -10,7 +10,6 @@ import {$t, $t_html} from "./i18n";
import * as message_lists from "./message_lists"; import * as message_lists from "./message_lists";
import {page_params} from "./page_params"; import {page_params} from "./page_params";
import * as people from "./people"; import * as people from "./people";
import * as popovers from "./popovers";
import * as rendered_markdown from "./rendered_markdown"; import * as rendered_markdown from "./rendered_markdown";
import * as rows from "./rows"; import * as rows from "./rows";
import * as spectators from "./spectators"; import * as spectators from "./spectators";
@ -178,7 +177,6 @@ export function initialize() {
$("body").on("click", ".message_edit_notice", (e) => { $("body").on("click", ".message_edit_notice", (e) => {
e.stopPropagation(); e.stopPropagation();
e.preventDefault(); e.preventDefault();
popovers.hide_all();
const message_id = rows.id($(e.currentTarget).closest(".message_row")); const message_id = rows.id($(e.currentTarget).closest(".message_row"));
const $row = message_lists.current.get_row(message_id); const $row = message_lists.current.get_row(message_id);