mirror of https://github.com/zulip/zulip.git
message_edit_history: Remove popovers.hide_all in click event.
This commit is contained in:
parent
cbef6f79a5
commit
aae09ed6b7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue