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:
Prakhar Pratyush 2024-03-23 10:12:49 +05:30 committed by Tim Abbott
parent 2514093688
commit e5d50d9787
1 changed files with 6 additions and 8 deletions

View File

@ -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