mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
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:
committed by
Tim Abbott
parent
2514093688
commit
e5d50d9787
@@ -292,15 +292,13 @@ export function initialize(): void {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
message_list_tooltip(".rendered_markdown time, .rendered_markdown .copy_codeblock",
|
message_list_tooltip(".rendered_markdown time, .rendered_markdown .copy_codeblock", {
|
||||||
{
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
content: timerender.get_markdown_time_tooltip as tippy.Content,
|
||||||
content: timerender.get_markdown_time_tooltip as tippy.Content,
|
onHidden(instance) {
|
||||||
onHidden(instance) {
|
instance.destroy();
|
||||||
instance.destroy();
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
);
|
});
|
||||||
|
|
||||||
message_list_tooltip(".message_inline_image > a > img", {
|
message_list_tooltip(".message_inline_image > a > img", {
|
||||||
// Add a short delay so the user can mouseover several inline images without
|
// Add a short delay so the user can mouseover several inline images without
|
||||||
|
|||||||
Reference in New Issue
Block a user