Skip to content

Commit

Permalink
message_list_tooltips: Fix code style issue.
Browse files Browse the repository at this point in the history
frontend-lint was failing due to code style issue
in 'message_list_tooltips'.

This was introduced in fd3c772.
  • Loading branch information
prakhar1144 authored and timabbott committed Mar 23, 2024
1 parent 2514093 commit e5d50d9
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions web/src/message_list_tooltips.ts
Expand Up @@ -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
Expand Down

0 comments on commit e5d50d9

Please sign in to comment.