mirror of https://github.com/zulip/zulip.git
message_list_tooltips: Fix code style issue.
frontend-lint was failing due to code style issue
in 'message_list_tooltips'.
This was introduced in fd3c7728fc
.
This commit is contained in:
parent
2514093688
commit
e5d50d9787
|
@ -292,15 +292,13 @@ export function initialize(): void {
|
|||
},
|
||||
});
|
||||
|
||||
message_list_tooltip(".rendered_markdown time, .rendered_markdown .copy_codeblock",
|
||||
{
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
content: timerender.get_markdown_time_tooltip as tippy.Content,
|
||||
onHidden(instance) {
|
||||
instance.destroy();
|
||||
},
|
||||
message_list_tooltip(".rendered_markdown time, .rendered_markdown .copy_codeblock", {
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
content: timerender.get_markdown_time_tooltip as tippy.Content,
|
||||
onHidden(instance) {
|
||||
instance.destroy();
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
message_list_tooltip(".message_inline_image > a > img", {
|
||||
// Add a short delay so the user can mouseover several inline images without
|
||||
|
|
Loading…
Reference in New Issue